From b01c0c1980d4afed94884a2954852c1d7d12b70b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Wed, 6 Nov 2024 07:28:55 +0800 Subject: [PATCH] up --- cpp/CMakeLists.txt | 2 +- cpp/LunaHook/CMakeLists.txt | 2 +- cpp/version.cmake | 6 ++++++ cpp/version/version.cmake | 6 ------ 4 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 cpp/version.cmake delete mode 100644 cpp/version/version.cmake diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index a4ead142..0cf65a5c 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -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) diff --git a/cpp/LunaHook/CMakeLists.txt b/cpp/LunaHook/CMakeLists.txt index 94de43cf..55a6f1e5 100644 --- a/cpp/LunaHook/CMakeLists.txt +++ b/cpp/LunaHook/CMakeLists.txt @@ -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) diff --git a/cpp/version.cmake b/cpp/version.cmake new file mode 100644 index 00000000..afa8d455 --- /dev/null +++ b/cpp/version.cmake @@ -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) \ No newline at end of file diff --git a/cpp/version/version.cmake b/cpp/version/version.cmake deleted file mode 100644 index 452df3d2..00000000 --- a/cpp/version/version.cmake +++ /dev/null @@ -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) \ No newline at end of file