typhoon/CMakeLists.txt

27 lines
584 B
Text
Raw Normal View History

2020-11-22 23:25:22 -06:00
cmake_minimum_required(VERSION 2.8)
if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
message(FATAL_ERROR
"In-source builds not allowed.
Please make a new directory (called a build directory) and run CMake from there.
You may need to remove CMakeCache.txt."
)
endif()
if(TARGET tempest)
# Guard for use as transitive dependency
return()
endif()
2020-11-22 23:25:22 -06:00
# Project
project(tempest)
set(CMAKE_CXX_STANDARD 11)
2020-12-02 20:32:58 -06:00
include(lib/system/cmake/system.cmake)
2020-11-22 23:25:22 -06:00
2020-12-02 20:25:10 -06:00
add_subdirectory(lib)
2020-11-22 23:25:22 -06:00
add_subdirectory(tempest)
add_subdirectory(test)
2020-11-26 08:54:05 -06:00
add_subdirectory(vendor)