summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/staticLibraryCycle/main.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-10-30 12:45:36 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-10-30 12:45:49 (GMT)
commit9bec6afa7a79e4669fe5c1b10e1acaa404e65573 (patch)
treed70490a3127aa00738991669918a32da72337997 /Tests/QtAutogen/staticLibraryCycle/main.cpp
parent20f462dffc36c58329bda1c14030ba5768360bbf (diff)
parent3a4db8617e42d47363309fa317d2cac2ee61a684 (diff)
downloadCMake-9bec6afa7a79e4669fe5c1b10e1acaa404e65573.zip
CMake-9bec6afa7a79e4669fe5c1b10e1acaa404e65573.tar.gz
CMake-9bec6afa7a79e4669fe5c1b10e1acaa404e65573.tar.bz2
Merge topic 'autogen-static-library-cycles'
3a4db861 Autogen: Tests: Add test for STATIC_LIBRARY cycles 798e4f2f Autogen: Don't add STATIC_LIBRARY cycle targets to the _autogen dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1408
Diffstat (limited to 'Tests/QtAutogen/staticLibraryCycle/main.cpp')
-rw-r--r--Tests/QtAutogen/staticLibraryCycle/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/QtAutogen/staticLibraryCycle/main.cpp b/Tests/QtAutogen/staticLibraryCycle/main.cpp
new file mode 100644
index 0000000..f5b7fd2
--- /dev/null
+++ b/Tests/QtAutogen/staticLibraryCycle/main.cpp
@@ -0,0 +1,8 @@
+#include "a.h"
+
+int main(int argv, char** args)
+{
+ // Object instances
+ A a;
+ return 0;
+}