summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ObsoleteQtMacros/empty.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-07-04 08:00:27 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-07-14 08:05:04 (GMT)
commitcb7f32f5b861fe115fa71f64500a5cbb0b643f1b (patch)
tree4decc25017cca2777f4f3356d3a355354bec451a /Tests/RunCMake/ObsoleteQtMacros/empty.cpp
parentc64326bc0b2df30060a475e147c136ae5e7234ae (diff)
downloadCMake-cb7f32f5b861fe115fa71f64500a5cbb0b643f1b.zip
CMake-cb7f32f5b861fe115fa71f64500a5cbb0b643f1b.tar.gz
CMake-cb7f32f5b861fe115fa71f64500a5cbb0b643f1b.tar.bz2
Mark qt4_use_modules and qt4_automoc as obsolete.
The QT_QMAKE_EXECUTABLE has to be passed through the cmake calls because the executable may not be in the PATH.
Diffstat (limited to 'Tests/RunCMake/ObsoleteQtMacros/empty.cpp')
-rw-r--r--Tests/RunCMake/ObsoleteQtMacros/empty.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/ObsoleteQtMacros/empty.cpp b/Tests/RunCMake/ObsoleteQtMacros/empty.cpp
new file mode 100644
index 0000000..7279c5e
--- /dev/null
+++ b/Tests/RunCMake/ObsoleteQtMacros/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty(void)
+{
+ return 0;
+}