diff options
| author | ilotterytea <iltsu@alright.party> | 2024-04-20 22:18:34 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-04-20 22:18:34 +0500 |
| commit | 0d0ea4313b9809b6204e4fa787ab0fca9190ecc4 (patch) | |
| tree | 6576d120cfd6c95aae458a1704b5cc0107e528ad | |
initial commit
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | CMakeLists.txt | 22 | ||||
| -rw-r--r-- | LICENSE | 13 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/main.cpp | 6 |
5 files changed, 45 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e2e176 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/build +*.env diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..c04707d --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,22 @@ +cmake_minimum_required(VERSION 3.10) + +project( + RedpilledBot + VERSION 1.0 + DESCRIPTION "a silly twitch chat bot" +) + +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED True) + +add_executable(Bot) + +file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.h" "src/*.hpp") + +target_sources(Bot PRIVATE ${SRC_FILES}) + +set_target_properties( + Bot PROPERTIES + DESCRIPTION ${PROJECT_DESCRIPTION} + OUTPUT_NAME "redpilled-bot_${PROJECT_VERSION}" +) @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + +Copyright (C) 2024 ilotterytea <ilotterytea@pm.me> + +Everyone is permitted to copy and distribute verbatim or modified +copies of this license document, and changing it is allowed as long +as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/README.md b/README.md new file mode 100644 index 0000000..676b01f --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# redpilled-bot + diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..f3eff06 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,6 @@ +#include <iostream> + +int main(int argc, char *argv[]) { + std::cout << "hi world\n"; + return 0; +} |
