summaryrefslogtreecommitdiffstats
path: root/src/corelib/corelib.pro
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-06-29 08:32:01 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-03 01:08:25 +0200
commit91720b5bc22410177512abcaea9716de5446162e (patch)
tree3bea489487e767f5f90a60e82d64412a32831339 /src/corelib/corelib.pro
parent7327ae8c170cb4d6bd3ecde16b12f575268661b5 (diff)
Move the macros for invoking ctest to a shared location.
They are still internal, but all Qt5 modules will be able to use them then. Change-Id: I42ab656115b0976ca959293dfd664ec071f35dbf Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/corelib/corelib.pro')
-rw-r--r--src/corelib/corelib.pro12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/corelib/corelib.pro b/src/corelib/corelib.pro
index 673d34b548..101cc4dce9 100644
--- a/src/corelib/corelib.pro
+++ b/src/corelib/corelib.pro
@@ -71,3 +71,15 @@ lrelease_dir.name = lrelease_location
lrelease_dir.variable = QMAKE_LRELEASE
QMAKE_PKGCONFIG_VARIABLES += lupdate_dir lrelease_dir
+
+ctest_macros_file.input = $$PWD/Qt5CTestMacros.cmake
+ctest_macros_file.output = $$DESTDIR/cmake/Qt5Core/Qt5CTestMacros.cmake
+ctest_macros_file.config = verbatim
+
+QMAKE_SUBSTITUTES += ctest_macros_file
+
+ctest_qt5_module_files.files += $$ctest_macros_file.output
+
+ctest_qt5_module_files.path = $$[QT_INSTALL_LIBS]/cmake/Qt5Core
+
+INSTALLS += ctest_qt5_module_files