ecs/CMakeLists.txt
2020-06-14 20:01:04 +02:00

17 lines
455 B
CMake

cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
project(ecs)
if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)
message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there.")
endif()
include(cmake/tools.cmake)
add_subdirectory(ecs)
add_subdirectory(ecs-lua)
add_subdirectory(ecs-serial)
add_subdirectory(test)
set_target_properties(ecs_test PROPERTIES EXCLUDE_FROM_ALL YES)