From d7e934156858287cdb7597ad0dced97d4d279f2f Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 28 Feb 2019 20:28:20 -0500 Subject: Got it bot-ready! Using C++ randomization now, along with an update to rawr-ebooks that allows it to do the same. Cleaned up the code here and there. Added in the twitter client and the config file reader. We can use librawr's histogram class now, so we don't need our own. Also why did we not name this bot "aspartame". It's a Sugar replacer. Hahaha. I'm Pink Diamond. --- CMakeLists.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f563ae5..096d08d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,17 @@ cmake_minimum_required (VERSION 3.1) project (rawr-ebooks) +find_package(PkgConfig) +pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) + add_subdirectory(vendor/rawr-ebooks EXCLUDE_FROM_ALL) -include_directories(vendor/rawr-ebooks) +include_directories( + vendor/rawr-ebooks + vendor/rawr-ebooks/vendor/libtwittercpp/src + ${yaml-cpp_INCLUDE_DIRS}) -add_executable(garnet dialogue.cpp histogram.cpp) +add_executable(garnet dialogue.cpp) set_property(TARGET garnet PROPERTY CXX_STANDARD 17) set_property(TARGET garnet PROPERTY CXX_STANDARD_REQUIRED ON) -target_link_libraries(garnet rawr) +target_link_libraries(garnet rawr twitter++ ${yaml-cpp_LIBRARIES}) -- cgit 1.4.1