From 3f562db12bd310a01c324707ad61a6f306282140 Mon Sep 17 00:00:00 2001 From: x-tools-author Date: Tue, 25 Feb 2025 18:44:38 +0800 Subject: [PATCH] chore: update the file --- CMakeLists.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43508048..ff901ee3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,13 +193,13 @@ if(X_TOOLS_ENABLE_MODULE_BLUETOOTH) else() message(STATUS "Bluetooth module is disable, bluetooth files will be removed.") set(TMP_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src) - list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/IO/Unit/BleScanner.h) - list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/IO/Unit/BleScanner.cpp) - list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/IO/IO/Communication/BleCentral.h) - list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/IO/IO/Communication/BleCentral.cpp) - list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/IO/UI/Communication/BleCentralUi.h) - list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/IO/UI/Communication/BleCentralUi.ui) - list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/IO/UI/Communication/BleCentralUi.cpp) + list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/device/utilities/blescanner.h) + list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/device/utilities/blescanner.cpp) + list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/device/blecentral.h) + list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/device/blecentral.cpp) + list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/device/blecentralui.h) + list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/device/blecentralui.ui) + list(REMOVE_ITEM X_TOOLS_SOURCE ${TMP_DIR}/device/blecentralui.cpp) endif() # -------------------------------------------------------------------------------------------------- @@ -320,5 +320,6 @@ if(X_TOOLS_LATEST_GIT_TAG MATCHES "^v[0-9].*") string(SUBSTRING ${X_TOOLS_LATEST_GIT_TAG} 1 -1 X_TOOLS_LATEST_GIT_TAG) endif() if(WIN32) - x_tools_generate_installer(xTools ${X_TOOLS_LATEST_GIT_TAG} ${CMAKE_CURRENT_SOURCE_DIR}/xTools.ico) -endif() \ No newline at end of file + x_tools_generate_installer(xTools ${X_TOOLS_LATEST_GIT_TAG} + ${CMAKE_CURRENT_SOURCE_DIR}/xTools.ico) +endif()