kazbek/CMakeLists.txt

22 lines
513 B
CMake

cmake_minimum_required(VERSION 3.21)
project(Katja)
include(CTest)
include(FetchContent)
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_CXX_STANDARD 17)
add_library(katja
katja/database.cpp include/katja/database.hpp
katja/sbo.cpp include/katja/sbo.hpp
katja/repository.cpp include/katja/repository.hpp
)
include_directories(include ${Boost_INCLUDE_DIR})
add_subdirectory(cli)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()