diff options
author | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2019-07-03 14:39:03 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-01 13:36:39 +0000 |
commit | b26b1455d75709a53f50e1d3d41c384f8e90b576 (patch) | |
tree | 74d4090126aa1829c6e637ba44015d0cf3936aac /tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt | |
parent | a920c16ef2f6e0bd26e136a92a4f4fe34a32eef0 (diff) |
Implement SUBDIR-= conversion in pro2cmake tool
CMake doesn't support removing subdirectories therefore one need to
convert all removal to conditional adds. The resulting code doesn't
win a beauty contest. That is because handle_subdir works on already
processed strings which means it doesn't have access to the boolean
operations. As such it can not minimize the expressions, but it works
and in the most simple cases it is pretty good.
The patch re-generates CMakeLists.txt under tests/auto/corelib/kernel
excluding qcoreapplication, qmetatype, qmimedata, qobject, qtimer,
which are suffering from unrelated problems, like for example Gui,
pthread linkage issues.
Change-Id: I18a02f6eda7a3b41b1313211c8bc9ce277bb67be
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt')
-rw-r--r-- | tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt b/tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt index 0bf39130c2..de1901e9e4 100644 --- a/tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt +++ b/tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt @@ -1 +1,13 @@ -add_qt_test(tst_qdeadlinetimer SOURCES tst_qdeadlinetimer.cpp) +# Generated from qdeadlinetimer.pro. + +##################################################################### +## tst_qdeadlinetimer Test: +##################################################################### + +add_qt_test(tst_qdeadlinetimer + SOURCES + tst_qdeadlinetimer.cpp +) + +#### Keys ignored in scope 1:.:.:qdeadlinetimer.pro:<TRUE>: +# CONFIG = "testcase" |