- cmake_minimum_required(VERSION 3.0)
- project(spaceconstruct)
- set (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
- find_package(SQLite3 REQUIRED)
- add_subdirectory(opendoors)
- add_subdirectory(zf_log)
- include_directories(${SQLITE3_INCLUDE_DIRS})
- add_executable(sc main.cpp)
- target_link_libraries(sc opendoors zf_log ${SQLITE3_LIBRARIES})
- target_compile_definitions(sc PUBLIC ZF_LOG_DEF_LEVEL=ZF_LOG_VERBOSE)
|