2023-05-10 00:05:38 +02:00
|
|
|
cmake_minimum_required( VERSION 3.16 )
|
|
|
|
project( r5sdk )
|
|
|
|
|
2023-09-19 22:13:22 +02:00
|
|
|
set( ENGINE_SOURCE_DIR "${CMAKE_SOURCE_DIR}/src" CACHE PATH "Engine source directory" )
|
2023-08-03 16:56:27 +02:00
|
|
|
|
|
|
|
include( "${ENGINE_SOURCE_DIR}/cmake/Configure.cmake" )
|
|
|
|
include( "${ENGINE_SOURCE_DIR}/cmake/Macros.cmake" )
|
|
|
|
include( "${ENGINE_SOURCE_DIR}/cmake/Options.cmake" )
|
2023-05-10 00:05:38 +02:00
|
|
|
|
2023-05-11 23:50:06 +02:00
|
|
|
initial_setup()
|
2023-05-10 00:05:38 +02:00
|
|
|
setup_build_configurations()
|
2023-05-14 16:27:31 +02:00
|
|
|
define_compiler_variables()
|
2023-05-10 00:05:38 +02:00
|
|
|
apply_project_settings()
|
|
|
|
|
2023-05-14 16:27:31 +02:00
|
|
|
include_directories( "${ENGINE_SOURCE_DIR}" )
|
|
|
|
include_directories( "${ENGINE_SOURCE_DIR}/public" )
|
2023-10-07 16:26:56 +02:00
|
|
|
include_directories( "${THIRDPARTY_SOURCE_DIR}" )
|
2023-05-10 00:05:38 +02:00
|
|
|
|
|
|
|
# Include the subdirectories that contain the individual projects
|
2023-05-14 16:27:31 +02:00
|
|
|
add_subdirectory( "${ENGINE_SOURCE_DIR}" )
|