From 25bc817bc4a68b81a0ff0c2485c2c903a8e3851f Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 25 Aug 2018 08:51:41 -0400 Subject: Created bot --- CMakeLists.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..c9f662b --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,22 @@ +cmake_minimum_required (VERSION 3.1) +project (fanmail) + +#add_subdirectory(vendor/libtwittercpp) +add_subdirectory(vendor/rawr-ebooks EXCLUDE_FROM_ALL) + +find_package(PkgConfig) +pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) +pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) + +include_directories( + vendor/rawr-ebooks/vendor/libtwittercpp/src + vendor/rawr-ebooks + ${yaml-cpp_INCLUDE_DIRS} + ${GraphicsMagick_INCLUDE_DIRS}) + +link_directories(${GraphicsMagick_LIBRARY_DIRS}) + +add_executable(fanmail fanmail.cpp designer.cpp main.cpp) +set_property(TARGET fanmail PROPERTY CXX_STANDARD 14) +set_property(TARGET fanmail PROPERTY CXX_STANDARD_REQUIRED ON) +target_link_libraries(fanmail ${yaml-cpp_LIBRARIES} ${GraphicsMagick_LIBRARIES} twitter++ rawr) \ No newline at end of file -- cgit 1.4.1