about summary refs log tree commit diff stats
path: root/generator/CMakeLists.txt
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-01-09 14:01:51 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-01-09 14:01:51 -0500
commit46b7119fab32b05923dbf9cda7cd6ce62f572846 (patch)
tree31ac6c281869085e5dbc6b210886c554d4c52cad /generator/CMakeLists.txt
downloadcadence-46b7119fab32b05923dbf9cda7cd6ce62f572846.tar.gz
cadence-46b7119fab32b05923dbf9cda7cd6ce62f572846.tar.bz2
cadence-46b7119fab32b05923dbf9cda7cd6ce62f572846.zip
Initial commit
Diffstat (limited to 'generator/CMakeLists.txt')
-rw-r--r--generator/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/generator/CMakeLists.txt b/generator/CMakeLists.txt new file mode 100644 index 0000000..af023c4 --- /dev/null +++ b/generator/CMakeLists.txt
@@ -0,0 +1,11 @@
1cmake_minimum_required (VERSION 3.1)
2project (generator)
3
4find_package(PkgConfig)
5pkg_check_modules(sqlite3 sqlite3 REQUIRED)
6
7include_directories(${sqlite3_INCLUDE_DIR} vendor/json)
8add_executable(generator mood.cpp database.cpp field.cpp generator.cpp main.cpp)
9set_property(TARGET generator PROPERTY CXX_STANDARD 11)
10set_property(TARGET generator PROPERTY CXX_STANDARD_REQUIRED ON)
11target_link_libraries(generator ${sqlite3_LIBRARIES})