From 891d57d200f55b91f80b6d3b4dd0c30479be6109 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 12 Apr 2016 18:40:52 -0400 Subject: Added basic ability to tweet --- 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..7507e25 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required (VERSION 3.1) +project (twitter++) + +include_directories(vendor/json/src) + +add_subdirectory(vendor/liboauthcpp/build EXCLUDE_FROM_ALL) +include_directories(vendor/liboauthcpp/include) + +add_subdirectory(vendor/curlcpp) +include_directories(${CURLCPP_SOURCE_DIR}/include) + +add_library(twitter++ src/client.cpp src/auth.cpp src/tweet.cpp) +set_property(TARGET twitter++ PROPERTY CXX_STANDARD 11) +set_property(TARGET twitter++ PROPERTY CXX_STANDARD_REQUIRED ON) +target_link_libraries(twitter++ oauthcpp curlcpp) -- cgit 1.4.1