2017-04-04 19:58:40 +00:00
|
|
|
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
|
2017-04-07 22:57:32 +00:00
|
|
|
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
|
2017-06-03 19:52:57 +00:00
|
|
|
project(kamokan_top LANGUAGES NONE)
|
2017-04-04 19:58:40 +00:00
|
|
|
|
2017-05-04 22:03:53 +00:00
|
|
|
include(CTest)
|
|
|
|
|
2017-06-08 21:55:29 +00:00
|
|
|
set(INCREDIS_FORCE_DISABLE_TESTS ON CACHE BOOL "Disable destructive and slow incredis tests" FORCE)
|
2017-04-15 02:18:33 +00:00
|
|
|
set(TAWASHI_SOURCE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")
|
2017-05-04 18:52:18 +00:00
|
|
|
|
|
|
|
configure_file(
|
2017-06-03 19:52:57 +00:00
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/config/debug_kamokan.ini.in"
|
|
|
|
"${CMAKE_CURRENT_BINARY_DIR}/kamokan.ini"
|
2017-05-15 08:09:06 +00:00
|
|
|
)
|
2017-04-04 19:58:40 +00:00
|
|
|
|
|
|
|
add_subdirectory(lib/incredis)
|
2017-04-18 17:40:42 +00:00
|
|
|
add_subdirectory(lib/mstch)
|
2017-04-25 17:56:41 +00:00
|
|
|
add_subdirectory(lib/houdini)
|
2017-05-04 18:52:18 +00:00
|
|
|
add_subdirectory(src/tawashi)
|
2017-06-12 09:32:20 +00:00
|
|
|
add_subdirectory(src/kamokan_impl)
|
2017-06-03 19:52:57 +00:00
|
|
|
add_subdirectory(src/kamokan)
|
2017-04-26 19:52:52 +00:00
|
|
|
|
2017-05-14 17:14:52 +00:00
|
|
|
install(DIRECTORY html/website/ DESTINATION html)
|
2017-05-04 22:03:53 +00:00
|
|
|
|
|
|
|
if (BUILD_TESTING)
|
|
|
|
add_subdirectory(test/unit)
|
2017-05-22 19:08:28 +00:00
|
|
|
add_subdirectory(test/simulation)
|
2017-05-04 22:03:53 +00:00
|
|
|
endif()
|