summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
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 @@
1cmake_minimum_required (VERSION 3.1) 1cmake_minimum_required (VERSION 3.1)
2project (chemist) 2project (insult)
3
4set(CMAKE_BUILD_TYPE Debug)
5 3
6add_subdirectory(vendor/verbly) 4add_subdirectory(vendor/verbly)
7add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) 5add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL)
8add_subdirectory(vendor/libtwittercpp) 6add_subdirectory(vendor/libtwittercpp)
9 7
10include_directories(vendor/verbly/lib vendor/yaml-cpp/include vendor/libtwittercpp/src) 8include_directories(vendor/verbly/lib vendor/yaml-cpp/include vendor/libtwittercpp/src)
11add_executable(chemist chemist.cpp) 9add_executable(insult insult.cpp patterner.cpp)
12set_property(TARGET chemist PROPERTY CXX_STANDARD 11) 10set_property(TARGET insult PROPERTY CXX_STANDARD 11)
13set_property(TARGET chemist PROPERTY CXX_STANDARD_REQUIRED ON) 11set_property(TARGET insult PROPERTY CXX_STANDARD_REQUIRED ON)
14target_link_libraries(chemist verbly twitter++ yaml-cpp) 12target_link_libraries(insult verbly twitter++ yaml-cpp)