diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-19 09:17:07 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-19 09:17:07 -0400 |
| commit | aec538929aa73600be65e6bebf8322ed928f7fcf (patch) | |
| tree | cddfd984de04d553ccc2ffd83423894d0be175f9 /CMakeLists.txt | |
| download | wordplay-aec538929aa73600be65e6bebf8322ed928f7fcf.tar.gz wordplay-aec538929aa73600be65e6bebf8322ed928f7fcf.tar.bz2 wordplay-aec538929aa73600be65e6bebf8322ed928f7fcf.zip | |
Initial commit
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) | ||
