mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-22 00:40:15 +08:00
7 lines
191 B
CMake
7 lines
191 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_CPP_DEBUG")
|