mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: update the file
This commit is contained in:
parent
830c6fe09d
commit
d5d01a7e78
@ -176,13 +176,6 @@ include(${CMAKE_SOURCE_DIR}/cmake/x_3rd.cmake)
|
|||||||
include(${CMAKE_SOURCE_DIR}/cmake/x_qt.cmake)
|
include(${CMAKE_SOURCE_DIR}/cmake/x_qt.cmake)
|
||||||
message(STATUS "[xTools]Link libraries: ${X_LIBS}")
|
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 X_LATEST_GIT_TAG contain "v", remove it...
|
||||||
if(NOT X_LATEST_GIT_TAG)
|
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)
|
string(SUBSTRING ${X_LATEST_GIT_TAG} 1 -1 X_LATEST_GIT_TAG)
|
||||||
endif()
|
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
|
# xTools application
|
||||||
set(bin ${X_BINS_DIR}/xTools)
|
set(bin ${X_BINS_DIR}/xTools)
|
||||||
|
|||||||
@ -39,7 +39,7 @@ endif()
|
|||||||
|
|
||||||
# --------------------------------------------------------------------------------------------------
|
# --------------------------------------------------------------------------------------------------
|
||||||
# Make installer for Windows
|
# 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}")
|
add_compile_definitions(X_ASSISTANT_VERSION="${X_ASSISTANT_VERSION}")
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
include(${CMAKE_SOURCE_DIR}/cmake/msix/msix.cmake)
|
include(${CMAKE_SOURCE_DIR}/cmake/msix/msix.cmake)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user