14 lines
371 B
CMake
14 lines
371 B
CMake
cmake_minimum_required(VERSION 3.19)
|
|
|
|
# Prohibit in-source tree builds.
|
|
if(" ${CMAKE_SOURCE_DIR}" STREQUAL " ${CMAKE_BINARY_DIR}")
|
|
message(FATAL_ERROR "In-source-tree builds are strictly prohibited. Please don't do them.")
|
|
endif()
|
|
|
|
include(${CMAKE_SOURCE_DIR}/cmake/Policies.cmake)
|
|
project(ssxog LANGUAGES C CXX)
|
|
|
|
|
|
add_subdirectory(src/libs)
|
|
add_subdirectory(src/bx)
|