about 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.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..872dbe3 --- /dev/null +++ b/CMakeLists.txt
@@ -0,0 +1,15 @@
1cmake_minimum_required (VERSION 2.6)
2project (blessed)
3
4add_subdirectory(vendor/twitcurl/libtwitcurl)
5add_subdirectory(vendor/verbly)
6
7find_package(PkgConfig)
8pkg_check_modules(YamlCpp yaml-cpp REQUIRED)
9pkg_check_modules(sqlite3 sqlite3 REQUIRED)
10
11include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR} vendor/verbly/lib)
12add_executable(blessed blessed.cpp)
13set_property(TARGET blessed PROPERTY CXX_STANDARD 11)
14set_property(TARGET blessed PROPERTY CXX_STANDARD_REQUIRED ON)
15target_link_libraries(blessed ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitcurl curl verbly)