diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 49b0d2e..b9a143f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,14 +1,12 @@ | |||
1 | cmake_minimum_required (VERSION 3.1) | 1 | cmake_minimum_required (VERSION 3.1) |
2 | project (chemist) | 2 | project (insult) |
3 | |||
4 | set(CMAKE_BUILD_TYPE Debug) | ||
5 | 3 | ||
6 | add_subdirectory(vendor/verbly) | 4 | add_subdirectory(vendor/verbly) |
7 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) | 5 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) |
8 | add_subdirectory(vendor/libtwittercpp) | 6 | add_subdirectory(vendor/libtwittercpp) |
9 | 7 | ||
10 | include_directories(vendor/verbly/lib vendor/yaml-cpp/include vendor/libtwittercpp/src) | 8 | include_directories(vendor/verbly/lib vendor/yaml-cpp/include vendor/libtwittercpp/src) |
11 | add_executable(chemist chemist.cpp) | 9 | add_executable(insult insult.cpp patterner.cpp) |
12 | set_property(TARGET chemist PROPERTY CXX_STANDARD 11) | 10 | set_property(TARGET insult PROPERTY CXX_STANDARD 11) |
13 | set_property(TARGET chemist PROPERTY CXX_STANDARD_REQUIRED ON) | 11 | set_property(TARGET insult PROPERTY CXX_STANDARD_REQUIRED ON) |
14 | target_link_libraries(chemist verbly twitter++ yaml-cpp) | 12 | target_link_libraries(insult verbly twitter++ yaml-cpp) |