From 7082e9f88b6d70afbb63fea8f97ecc7c2ef47347 Mon Sep 17 00:00:00 2001 From: liuxinhao Date: Mon, 4 Sep 2023 13:25:50 +0800 Subject: [PATCH] fix(cmake target): change cmake target name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改CMake target name 为test导致的编译问题 --- CMakeLists.txt | 2 +- {test => integration-test}/CMakeLists.txt | 2 +- {test => integration-test}/src/main.cpp | 0 {test => integration-test}/src/qt-widget-factor.cpp | 0 {test => integration-test}/src/qt-widget-factor.h | 0 {test => integration-test}/src/qt-widget-factor.ui | 0 {test => integration-test}/src/test.ui | 0 7 files changed, 2 insertions(+), 2 deletions(-) rename {test => integration-test}/CMakeLists.txt (97%) rename {test => integration-test}/src/main.cpp (100%) rename {test => integration-test}/src/qt-widget-factor.cpp (100%) rename {test => integration-test}/src/qt-widget-factor.h (100%) rename {test => integration-test}/src/qt-widget-factor.ui (100%) rename {test => integration-test}/src/test.ui (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf571f2..3b7eafc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,4 +17,4 @@ add_subdirectory(platformtheme) add_subdirectory(style-helper) #QStyle插件 add_subdirectory(style) -add_subdirectory(test) \ No newline at end of file +#add_subdirectory(integration-test) diff --git a/test/CMakeLists.txt b/integration-test/CMakeLists.txt similarity index 97% rename from test/CMakeLists.txt rename to integration-test/CMakeLists.txt index bc286f3..c757e4f 100644 --- a/test/CMakeLists.txt +++ b/integration-test/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.5) -project(test) +project(integration-test) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/test/src/main.cpp b/integration-test/src/main.cpp similarity index 100% rename from test/src/main.cpp rename to integration-test/src/main.cpp diff --git a/test/src/qt-widget-factor.cpp b/integration-test/src/qt-widget-factor.cpp similarity index 100% rename from test/src/qt-widget-factor.cpp rename to integration-test/src/qt-widget-factor.cpp diff --git a/test/src/qt-widget-factor.h b/integration-test/src/qt-widget-factor.h similarity index 100% rename from test/src/qt-widget-factor.h rename to integration-test/src/qt-widget-factor.h diff --git a/test/src/qt-widget-factor.ui b/integration-test/src/qt-widget-factor.ui similarity index 100% rename from test/src/qt-widget-factor.ui rename to integration-test/src/qt-widget-factor.ui diff --git a/test/src/test.ui b/integration-test/src/test.ui similarity index 100% rename from test/src/test.ui rename to integration-test/src/test.ui -- 2.33.0