diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-01-09 14:01:51 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-01-09 14:01:51 -0500 |
commit | 46b7119fab32b05923dbf9cda7cd6ce62f572846 (patch) | |
tree | 31ac6c281869085e5dbc6b210886c554d4c52cad /CMakeLists.txt | |
download | cadence-46b7119fab32b05923dbf9cda7cd6ce62f572846.tar.gz cadence-46b7119fab32b05923dbf9cda7cd6ce62f572846.tar.bz2 cadence-46b7119fab32b05923dbf9cda7cd6ce62f572846.zip |
Initial commit
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..65cfef7 --- /dev/null +++ b/CMakeLists.txt | |||
@@ -0,0 +1,14 @@ | |||
1 | cmake_minimum_required (VERSION 3.1) | ||
2 | project (cadence) | ||
3 | |||
4 | find_package(PkgConfig) | ||
5 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | ||
6 | |||
7 | add_subdirectory(vendor/libtwittercpp) | ||
8 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) | ||
9 | |||
10 | include_directories(${sqlite3_INCLUDE_DIR} vendor/libtwittercpp/src vendor/yaml-cpp/include) | ||
11 | add_executable(cadence cadence.cpp) | ||
12 | set_property(TARGET cadence PROPERTY CXX_STANDARD 11) | ||
13 | set_property(TARGET cadence PROPERTY CXX_STANDARD_REQUIRED ON) | ||
14 | target_link_libraries(cadence ${sqlite3_LIBRARIES} twitter++ yaml-cpp) | ||