aboutsummaryrefslogtreecommitdiff
path: root/tests/ECMPoQmToolsTest/subdir
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2015-10-14 12:18:40 +0100
committerAlex Merry <alex.merry@kde.org>2015-11-08 20:34:16 +0000
commitc88bc78e0ca3834c46b89ca9d14b404751da5d4a (patch)
tree99011137f4dedcf4bf242e167ac7dc70d9136b8e /tests/ECMPoQmToolsTest/subdir
parent6745bd7e4796560959bb67e33b7c7f86f96a5a94 (diff)
downloadextra-cmake-modules-c88bc78e0ca3834c46b89ca9d14b404751da5d4a.tar.gz
extra-cmake-modules-c88bc78e0ca3834c46b89ca9d14b404751da5d4a.tar.bz2
Add unit test for ecm_create_qm_loader.
This is based on commit 6745bd7e4796560959bb67e33b7c7f86f96a5a94 (and the subsequent fix-up commits).
Diffstat (limited to 'tests/ECMPoQmToolsTest/subdir')
-rw-r--r--tests/ECMPoQmToolsTest/subdir/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ECMPoQmToolsTest/subdir/CMakeLists.txt b/tests/ECMPoQmToolsTest/subdir/CMakeLists.txt
new file mode 100644
index 00000000..ee06b971
--- /dev/null
+++ b/tests/ECMPoQmToolsTest/subdir/CMakeLists.txt
@@ -0,0 +1,5 @@
+# QMLOADER_FILES comes from parent CMakeLists.txt. This is not something we
+# want people to do, but it's unfortunately something projects have done and we
+# need to keep them building
+add_executable(tr_test_subdir ../tr_test.cpp ${QMLOADER_FILES})
+target_link_libraries(tr_test_subdir PRIVATE Qt5::Core)