diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..a7693ff --- /dev/null +++ b/CMakeLists.txt | |||
@@ -0,0 +1,19 @@ | |||
1 | cmake_minimum_required (VERSION 2.6) | ||
2 | project (wordplay) | ||
3 | |||
4 | find_package(PkgConfig) | ||
5 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | ||
6 | |||
7 | add_subdirectory(vendor/twitcurl/libtwitcurl) | ||
8 | include_directories(vendor/twitcurl/libtwitcurl) | ||
9 | |||
10 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) | ||
11 | include_directories(vendor/yaml-cpp/include) | ||
12 | |||
13 | add_subdirectory(vendor/verbly) | ||
14 | include_directories(vendor/verbly/lib) | ||
15 | |||
16 | add_executable(wordplay wordplay.cpp) | ||
17 | set_property(TARGET wordplay PROPERTY CXX_STANDARD 11) | ||
18 | set_property(TARGET wordplay PROPERTY CXX_STANDARD_REQUIRED ON) | ||
19 | target_link_libraries(wordplay ${sqlite3_LIBRARIES} yaml-cpp twitcurl curl verbly) | ||