LunaTranslator/cpp/version.cmake
恍兮惚兮 2cfd18ec61 .
2024-11-16 16:32:48 +08:00

10 lines
367 B
CMake

set(VERSION_MAJOR 6)
set(VERSION_MINOR 2)
set(VERSION_PATCH 2)
set(VERSION_REVISION 0)
add_definitions(-DVERSION_MAJOR=${VERSION_MAJOR})
add_definitions(-DVERSION_MINOR=${VERSION_MINOR})
add_definitions(-DVERSION_PATCH=${VERSION_PATCH})
add_definitions(-DVERSION_REVISION=${VERSION_REVISION})
include(${CMAKE_CURRENT_LIST_DIR}/version/generate_product_version.cmake)