From 46b7119fab32b05923dbf9cda7cd6ce62f572846 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 9 Jan 2017 14:01:51 -0500 Subject: Initial commit --- generator/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 generator/CMakeLists.txt (limited to 'generator/CMakeLists.txt') 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 @@ +cmake_minimum_required (VERSION 3.1) +project (generator) + +find_package(PkgConfig) +pkg_check_modules(sqlite3 sqlite3 REQUIRED) + +include_directories(${sqlite3_INCLUDE_DIR} vendor/json) +add_executable(generator mood.cpp database.cpp field.cpp generator.cpp main.cpp) +set_property(TARGET generator PROPERTY CXX_STANDARD 11) +set_property(TARGET generator PROPERTY CXX_STANDARD_REQUIRED ON) +target_link_libraries(generator ${sqlite3_LIBRARIES}) -- cgit 1.4.1