mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-12-27 21:35:41 +00:00
King_DuckZ
6c357f1dc7
Unit tests are still a bit mixed up, but that should be simple to split once I have a separate repo for Tawashi.
27 lines
779 B
CMake
27 lines
779 B
CMake
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
|
|
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
|
|
project(kamokan_top LANGUAGES NONE)
|
|
|
|
include(CTest)
|
|
|
|
set(INCREDIS_FORCE_DISABLE_TESTS ON CACHE BOOL "Disable destructive and slow incredis tests" FORCE)
|
|
set(TAWASHI_SOURCE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
configure_file(
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/config/debug_kamokan.ini.in"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/kamokan.ini"
|
|
)
|
|
|
|
add_subdirectory(lib/incredis)
|
|
add_subdirectory(lib/mstch)
|
|
add_subdirectory(lib/houdini)
|
|
add_subdirectory(src/tawashi)
|
|
add_subdirectory(src/kamokan_impl)
|
|
add_subdirectory(src/kamokan)
|
|
|
|
install(DIRECTORY html/website/ DESTINATION html)
|
|
|
|
if (BUILD_TESTING)
|
|
add_subdirectory(test/unit)
|
|
add_subdirectory(test/simulation)
|
|
endif()
|