mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-19 06:30:07 +08:00
11 lines
263 B
CMake
11 lines
263 B
CMake
# Release
|
|
file(STRINGS nekoray_version.txt NKR_VERSION)
|
|
add_compile_definitions(NKR_VERSION=\"${NKR_VERSION}\")
|
|
|
|
# Debug
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DNKR_DEBUG")
|
|
|
|
if (NKR_USE_APPDATA)
|
|
add_compile_definitions(NKR_USE_APPDATA)
|
|
endif ()
|