summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Ninja/app.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-08-03 10:23:07 (GMT)
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-08-03 17:38:16 (GMT)
commit7445c9a58a2444c8918e81a9264b1584001ca013 (patch)
tree08d3c4cdd8d4e255b1023c095be8fae17bc4eba0 /Tests/RunCMake/Ninja/app.cpp
parenta79056bb023ae99c2e0f09f49b5d525e7b3eff8a (diff)
downloadCMake-7445c9a58a2444c8918e81a9264b1584001ca013.zip
CMake-7445c9a58a2444c8918e81a9264b1584001ca013.tar.gz
CMake-7445c9a58a2444c8918e81a9264b1584001ca013.tar.bz2
AutoGen: Add test to check for correct AutoMoc dependencies
When using Qt 5.15.0 or above together with Ninja, check that touching a source file of a dependency does not needlessly re-run AUTOMOC for the dependee target.
Diffstat (limited to 'Tests/RunCMake/Ninja/app.cpp')
-rw-r--r--Tests/RunCMake/Ninja/app.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/Ninja/app.cpp b/Tests/RunCMake/Ninja/app.cpp
new file mode 100644
index 0000000..57380e4
--- /dev/null
+++ b/Tests/RunCMake/Ninja/app.cpp
@@ -0,0 +1,6 @@
+int main(int argc, char* argv[])
+{
+ (void)argc;
+ (void)argv;
+ return 0;
+}