about summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-08-25 08:51:41 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-08-25 08:51:41 -0400
commit25bc817bc4a68b81a0ff0c2485c2c903a8e3851f (patch)
tree9bcdbe2f67daee557ae9b4d1af7007944740f884 /CMakeLists.txt
downloadfanmail-25bc817bc4a68b81a0ff0c2485c2c903a8e3851f.tar.gz
fanmail-25bc817bc4a68b81a0ff0c2485c2c903a8e3851f.tar.bz2
fanmail-25bc817bc4a68b81a0ff0c2485c2c903a8e3851f.zip
Created bot
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..c9f662b --- /dev/null +++ b/CMakeLists.txt
@@ -0,0 +1,22 @@
1cmake_minimum_required (VERSION 3.1)
2project (fanmail)
3
4#add_subdirectory(vendor/libtwittercpp)
5add_subdirectory(vendor/rawr-ebooks EXCLUDE_FROM_ALL)
6
7find_package(PkgConfig)
8pkg_check_modules(yaml-cpp yaml-cpp REQUIRED)
9pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED)
10
11include_directories(
12 vendor/rawr-ebooks/vendor/libtwittercpp/src
13 vendor/rawr-ebooks
14 ${yaml-cpp_INCLUDE_DIRS}
15 ${GraphicsMagick_INCLUDE_DIRS})
16
17link_directories(${GraphicsMagick_LIBRARY_DIRS})
18
19add_executable(fanmail fanmail.cpp designer.cpp main.cpp)
20set_property(TARGET fanmail PROPERTY CXX_STANDARD 14)
21set_property(TARGET fanmail PROPERTY CXX_STANDARD_REQUIRED ON)
22target_link_libraries(fanmail ${yaml-cpp_LIBRARIES} ${GraphicsMagick_LIBRARIES} twitter++ rawr) \ No newline at end of file