diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-11-27 16:49:48 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-11-27 16:49:48 -0500 |
commit | 4aedd681a0ddf511f3bb4254e2960fce7f400b04 (patch) | |
tree | eaf93841c277e38054e5df8b255fb5f53c4c3be4 /CMakeLists.txt | |
parent | b5628b64e540a5a5088338b6b839e99bb40a85d8 (diff) | |
download | nancy-4aedd681a0ddf511f3bb4254e2960fce7f400b04.tar.gz nancy-4aedd681a0ddf511f3bb4254e2960fce7f400b04.tar.bz2 nancy-4aedd681a0ddf511f3bb4254e2960fce7f400b04.zip |
Switched from twitcurl to libtwitter++
Also updated verbly to remove dependence on json submodule, replaced uses of the C random API with the C++ random API, and replaced the UNIX-dependent sleep call with the sleep functionality in the C++ standard library.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d57c96a..088e566 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,17 +1,12 @@ | |||
1 | cmake_minimum_required (VERSION 2.6) | 1 | cmake_minimum_required (VERSION 3.1) |
2 | project (nancy) | 2 | project (nancy) |
3 | 3 | ||
4 | set(CMAKE_BUILD_TYPE Debug) | 4 | add_subdirectory(vendor/libtwittercpp) |
5 | |||
6 | add_subdirectory(vendor/twitcurl/libtwitcurl) | ||
7 | add_subdirectory(vendor/verbly) | 5 | add_subdirectory(vendor/verbly) |
8 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) | 6 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) |
9 | 7 | ||
10 | find_package(PkgConfig) | 8 | include_directories(vendor/yaml-cpp/include vendor/libtwittercpp/src vendor/verbly/lib) |
11 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | ||
12 | |||
13 | include_directories(vendor/yaml-cpp/include vendor/twitcurl/libtwitcurl vendor/verbly/lib) | ||
14 | add_executable(nancy nancy.cpp) | 9 | add_executable(nancy nancy.cpp) |
15 | set_property(TARGET nancy PROPERTY CXX_STANDARD 11) | 10 | set_property(TARGET nancy PROPERTY CXX_STANDARD 11) |
16 | set_property(TARGET nancy PROPERTY CXX_STANDARD_REQUIRED ON) | 11 | set_property(TARGET nancy PROPERTY CXX_STANDARD_REQUIRED ON) |
17 | target_link_libraries(nancy yaml-cpp twitcurl curl verbly ${sqlite3_LIBRARIES}) | 12 | target_link_libraries(nancy yaml-cpp twitter++ verbly) |