This commit is contained in:
恍兮惚兮 2024-11-06 07:28:55 +08:00
parent 91083da7db
commit b01c0c1980
4 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY $<1:${CMAKE_FINAL_OUTPUT_DIRECTORY}>)
include(libs/libs.cmake)
include(${CMAKE_SOURCE_DIR}/version/version.cmake)
include(${CMAKE_SOURCE_DIR}/version.cmake)
add_library(pch pch.cpp)
target_precompile_headers(pch PUBLIC pch.h)

View File

@ -58,7 +58,7 @@ include(${CMAKE_SOURCE_DIR}/../libs/libs.cmake)
include_directories(include)
include(${CMAKE_SOURCE_DIR}/../version/version.cmake)
include(${CMAKE_SOURCE_DIR}/../version.cmake)
add_subdirectory(include)
add_subdirectory(LunaHook)

6
cpp/version.cmake Normal file
View File

@ -0,0 +1,6 @@
set(VERSION_MAJOR 5)
set(VERSION_MINOR 56)
set(VERSION_PATCH 0)
include(${CMAKE_CURRENT_LIST_DIR}/version/generate_product_version.cmake)

View File

@ -1,6 +0,0 @@
set(VERSION_MAJOR 5)
set(VERSION_MINOR 55)
set(VERSION_PATCH 5)
include(${CMAKE_CURRENT_LIST_DIR}/generate_product_version.cmake)