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 /CMakeLists.txt | |
initial commit
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 22 |
1 files changed, 22 insertions, 0 deletions
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}" +) |
