summaryrefslogtreecommitdiffstats
path: root/Tests/CompileOptions/main.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-05-16 13:15:28 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-06-02 09:56:37 (GMT)
commit80ca9c4b41ecdce069a6c3f4c1b558084a748876 (patch)
treee96eb29cd532378cd79c3e3ea4bb975ffbc2e285 /Tests/CompileOptions/main.cpp
parent7cb23084b2595d06aea46cead0e077b5f13aeddb (diff)
downloadCMake-80ca9c4b41ecdce069a6c3f4c1b558084a748876.zip
CMake-80ca9c4b41ecdce069a6c3f4c1b558084a748876.tar.gz
CMake-80ca9c4b41ecdce069a6c3f4c1b558084a748876.tar.bz2
Add COMPILE_OPTIONS target property.
This method reads generator expressions from the COMPILE_OPTIONS target property, as well as INTERFACE_COMPILE_OPTIONS from linked dependents.
Diffstat (limited to 'Tests/CompileOptions/main.cpp')
-rw-r--r--Tests/CompileOptions/main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/CompileOptions/main.cpp b/Tests/CompileOptions/main.cpp
new file mode 100644
index 0000000..0d39050
--- /dev/null
+++ b/Tests/CompileOptions/main.cpp
@@ -0,0 +1,11 @@
+
+#ifdef DO_GNU_TESTS
+# ifndef TEST_DEFINE
+# error Expected TEST_DEFINE
+# endif
+#endif
+
+int main(int argc, char **argv)
+{
+ return 0;
+}