summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..5fc053d --- /dev/null +++ b/CMakeLists.txt
@@ -0,0 +1,17 @@
1cmake_minimum_required (VERSION 3.1)
2project (advice)
3
4set(CMAKE_BUILD_TYPE Debug)
5
6find_package(PkgConfig)
7pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED)
8
9add_subdirectory(vendor/verbly)
10add_subdirectory(vendor/libtwittercpp)
11add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL)
12
13include_directories(vendor/verbly/lib vendor/libtwittercpp/src vendor/libtwittercpp/vendor/curlcpp/include ${GraphicsMagick_INCLUDE_DIRS} vendor/yaml-cpp/include)
14add_executable(advice main.cpp advice.cpp sentence.cpp)
15set_property(TARGET advice PROPERTY CXX_STANDARD 11)
16set_property(TARGET advice PROPERTY CXX_STANDARD_REQUIRED ON)
17target_link_libraries(advice verbly twitter++ ${GraphicsMagick_LIBRARIES} yaml-cpp)