io/CMakeLists.txt

16 lines
468 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(io)
add_subdirectory(test)
set_target_properties(io_test PROPERTIES EXCLUDE_FROM_ALL YES)
set_target_properties(test_framework PROPERTIES EXCLUDE_FROM_ALL YES)