-
-
Notifications
You must be signed in to change notification settings - Fork 510
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
27 lines (21 loc) · 884 Bytes
/
CMakeLists.txt
File metadata and controls
27 lines (21 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cmake_minimum_required(VERSION 3.23)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(PreProjectInit)
calculate_xray_build_id(XRAY_BUILD_ID)
project(OpenXRay
DESCRIPTION "OpenXRay is an improved version of the X-Ray Engine, \
the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World."
VERSION 1.6.02.${XRAY_BUILD_ID}
HOMEPAGE_URL "https://github.com/OpenXRay/xray-16"
LANGUAGES CXX C
)
option(BUILD_SHARED_LIBS "Build shared libraries" ${BUILD_SHARED_LIBS_DEFAULT_VALUE})
option(XRAY_USE_LUAJIT "Use LuaJIT" ON)
option(XRAY_USE_ASAN "Use AddressSanitizer" OFF)
option(XRAY_ENABLE_TRACY "Enable tracy profiler" OFF)
include(XRay.Build)
include(XRay.Packaging)
add_subdirectory(Externals)
add_subdirectory(src)
add_subdirectory(res)
add_subdirectory(misc)