summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-10-20 08:58:20 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-10-20 08:58:20 -0400
commit9ab9e5fcbc1534111d74c688bf7ad6d6ad46ff2b (patch)
treeaae2c4d60588f32c94c7367df0b35664e468f86b /CMakeLists.txt
parent4dade1b6f4f2b37a7ae9e6b1f7ca28e880fd7098 (diff)
downloadinsult-9ab9e5fcbc1534111d74c688bf7ad6d6ad46ff2b.tar.gz
insult-9ab9e5fcbc1534111d74c688bf7ad6d6ad46ff2b.tar.bz2
insult-9ab9e5fcbc1534111d74c688bf7ad6d6ad46ff2b.zip
Switched from twitcurl to libtwitter++
Also updated verbly, switched from C random interface to C++ random
interface, and reworked the datafile to give the generated tweets a
different feel.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 97d19b9..49b0d2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -3,15 +3,12 @@ project (chemist)
3 3
4set(CMAKE_BUILD_TYPE Debug) 4set(CMAKE_BUILD_TYPE Debug)
5 5
6find_package(PkgConfig)
7pkg_check_modules(sqlite3 sqlite3 REQUIRED)
8
9add_subdirectory(vendor/twitcurl/libtwitcurl)
10add_subdirectory(vendor/verbly) 6add_subdirectory(vendor/verbly)
11add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) 7add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL)
8add_subdirectory(vendor/libtwittercpp)
12 9
13include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR} vendor/verbly/lib vendor/yaml-cpp/include) 10include_directories(vendor/verbly/lib vendor/yaml-cpp/include vendor/libtwittercpp/src)
14add_executable(chemist chemist.cpp) 11add_executable(chemist chemist.cpp)
15set_property(TARGET chemist PROPERTY CXX_STANDARD 11) 12set_property(TARGET chemist PROPERTY CXX_STANDARD 11)
16set_property(TARGET chemist PROPERTY CXX_STANDARD_REQUIRED ON) 13set_property(TARGET chemist PROPERTY CXX_STANDARD_REQUIRED ON)
17target_link_libraries(chemist verbly ${sqlite3_LIBRARIES} yaml-cpp twitcurl curl) 14target_link_libraries(chemist verbly twitter++ yaml-cpp)