2023-05-10 00:05:38 +02:00
|
|
|
cmake_minimum_required( VERSION 3.16 )
|
|
|
|
project( r5sdk )
|
|
|
|
|
|
|
|
include( "r5dev/cmake/Configure.cmake" )
|
|
|
|
include( "r5dev/cmake/Macros.cmake" )
|
|
|
|
include( "r5dev/cmake/Options.cmake" )
|
|
|
|
|
2023-05-11 23:50:06 +02:00
|
|
|
initial_setup()
|
2023-05-10 00:05:38 +02:00
|
|
|
define_compiler_variables()
|
|
|
|
setup_build_configurations()
|
|
|
|
apply_project_settings()
|
|
|
|
|
|
|
|
include_directories( ${ENGINE_SOURCE_DIR} )
|
|
|
|
include_directories( ${ENGINE_SOURCE_DIR}/public )
|
|
|
|
include_directories( ${ENGINE_SOURCE_DIR}/thirdparty )
|
|
|
|
|
|
|
|
# Include the subdirectories that contain the individual projects
|
|
|
|
add_subdirectory( ${ENGINE_SOURCE_DIR} )
|