diff options
Diffstat (limited to 'generator/CMakeLists.txt')
-rw-r--r-- | generator/CMakeLists.txt | 11 |
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 @@ | |||
1 | cmake_minimum_required (VERSION 3.1) | ||
2 | project (generator) | ||
3 | |||
4 | find_package(PkgConfig) | ||
5 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | ||
6 | |||
7 | include_directories(${sqlite3_INCLUDE_DIR} vendor/json) | ||
8 | add_executable(generator mood.cpp database.cpp field.cpp generator.cpp main.cpp) | ||
9 | set_property(TARGET generator PROPERTY CXX_STANDARD 11) | ||
10 | set_property(TARGET generator PROPERTY CXX_STANDARD_REQUIRED ON) | ||
11 | target_link_libraries(generator ${sqlite3_LIBRARIES}) | ||