summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qlogging
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-07 18:34:17 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-07-09 09:38:39 +0200
commitdb397d11130639abae1b1438b0685db2c75db330 (patch)
treea97939cbefc3779e8a3e1ff339ad37f17806a8d7 /tests/auto/corelib/global/qlogging
parente9a328bc0e56b429a370b13c8e0b4790916cebde (diff)
CMake: Regenerate subdir test projects
And generate a few more test projects that were missing. Change-Id: I5df51106549aa5ae09bc3c42360e14b143719547 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/corelib/global/qlogging')
-rw-r--r--tests/auto/corelib/global/qlogging/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/global/qlogging/CMakeLists.txt9
2 files changed, 10 insertions, 3 deletions
diff --git a/tests/auto/corelib/global/qlogging/.prev_CMakeLists.txt b/tests/auto/corelib/global/qlogging/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..c95195c71e
--- /dev/null
+++ b/tests/auto/corelib/global/qlogging/.prev_CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from qlogging.pro.
+
+add_subdirectory(app)
+add_subdirectory(test)
diff --git a/tests/auto/corelib/global/qlogging/CMakeLists.txt b/tests/auto/corelib/global/qlogging/CMakeLists.txt
index ce9235f91e..e47f62776d 100644
--- a/tests/auto/corelib/global/qlogging/CMakeLists.txt
+++ b/tests/auto/corelib/global/qlogging/CMakeLists.txt
@@ -1,11 +1,14 @@
-add_qt_executable(qlogging_helper
+# Generated from qlogging.pro.
+# This file is almost completely custom written # special case
+
+qt_add_executable(qlogging_helper
NO_INSTALL # special case
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
SOURCES app/main.cpp
DEFINES QT_MESSAGELOGCONTEXT
LIBRARIES Qt::Core)
-#special case begin
+# special case begin
# Fixes required for the backtrace stack to be correct
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" AND NOT MINGW)
target_link_options(qlogging_helper PRIVATE -rdynamic)
@@ -13,7 +16,7 @@ endif()
set_target_properties(qlogging_helper PROPERTIES CXX_VISIBILITY_PRESET default)
# special case end
-add_qt_test(tst_qlogging SOURCES tst_qlogging.cpp
+qt_add_test(tst_qlogging SOURCES tst_qlogging.cpp
DEFINES
QT_MESSAGELOGCONTEXT
QT_DISABLE_DEPRECATED_BEFORE=0