From 9b5d284e8fa8af25b613ce362656df6db379f322 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 12 Jun 2016 20:09:45 -0400 Subject: Initial commit --- CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..1dd323c --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required (VERSION 3.1) +project (troublemaker) + +set(CMAKE_BUILD_TYPE Debug) + +add_subdirectory(vendor/libtwittercpp) +include_directories(vendor/libtwittercpp/src) + +add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) +include_directories(vendor/yaml-cpp/include) + +add_executable(troublemaker troublemaker.cpp) +set_property(TARGET troublemaker PROPERTY CXX_STANDARD 11) +set_property(TARGET troublemaker PROPERTY CXX_STANDARD_REQUIRED ON) +target_link_libraries(troublemaker twitter++ yaml-cpp) -- cgit 1.4.1