summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-02-03 13:56:19 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-02-03 13:56:19 -0500
commit18742d79e1de863889521c492e938491489316fe (patch)
tree9930ef168c81c01e1c947b47d697d494aa7ca0f2 /CMakeLists.txt
downloadadvice-18742d79e1de863889521c492e938491489316fe.tar.gz
advice-18742d79e1de863889521c492e938491489316fe.tar.bz2
advice-18742d79e1de863889521c492e938491489316fe.zip
Created bot
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)