chore: update the file

This commit is contained in:
x-tools-author 2025-08-18 20:50:43 +08:00
parent 830c6fe09d
commit d5d01a7e78
2 changed files with 8 additions and 8 deletions

View File

@ -176,13 +176,6 @@ include(${CMAKE_SOURCE_DIR}/cmake/x_3rd.cmake)
include(${CMAKE_SOURCE_DIR}/cmake/x_qt.cmake)
message(STATUS "[xTools]Link libraries: ${X_LIBS}")
# --------------------------------------------------------------------------------------------------
# xApplications selector(just for Qt6.8.0 or later)
include(${CMAKE_SOURCE_DIR}/xapps/xApp.cmake)
if(NOT ${X_APP} STREQUAL "xTools")
return()
endif()
# --------------------------------------------------------------------------------------------------
# if X_LATEST_GIT_TAG contain "v", remove it...
if(NOT X_LATEST_GIT_TAG)
@ -193,6 +186,13 @@ if(X_LATEST_GIT_TAG MATCHES "^v[0-9].*")
string(SUBSTRING ${X_LATEST_GIT_TAG} 1 -1 X_LATEST_GIT_TAG)
endif()
# --------------------------------------------------------------------------------------------------
# xApplications selector(just for Qt6.8.0 or later)
include(${CMAKE_SOURCE_DIR}/xapps/xApp.cmake)
if(NOT ${X_APP} STREQUAL "xTools")
return()
endif()
# --------------------------------------------------------------------------------------------------
# xTools application
set(bin ${X_BINS_DIR}/xTools)

View File

@ -39,7 +39,7 @@ endif()
# --------------------------------------------------------------------------------------------------
# Make installer for Windows
set(X_ASSISTANT_VERSION "1.3.0")
set(X_ASSISTANT_VERSION ${X_LATEST_GIT_TAG})
add_compile_definitions(X_ASSISTANT_VERSION="${X_ASSISTANT_VERSION}")
if(WIN32)
include(${CMAKE_SOURCE_DIR}/cmake/msix/msix.cmake)