- cmake_minimum_required(VERSION 3.0)
- project(testdoors)
- set (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
- find_package(SQLite3 REQUIRED)
- add_subdirectory(odoors)
- include_directories(${SQLITE3_INCLUDE_DIRS})
- add_executable(main main.cpp)
- target_link_libraries(main odoors ${SQLITE3_LIBRARIES})
|