summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0045/empty.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-09 14:37:20 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-01-09 14:37:20 (GMT)
commit15562c11efa3c3a9e0f28f9ad52b71623c254b05 (patch)
tree24dfd93e75c0fb8bf618394d379d45cf2f458c49 /Tests/RunCMake/CMP0045/empty.cpp
parent69c366a28178027a5cf2629c0240d1709ae9ab55 (diff)
parent73e93400e2efab2096618ff58a5ad68236cd04aa (diff)
downloadCMake-15562c11efa3c3a9e0f28f9ad52b71623c254b05.zip
CMake-15562c11efa3c3a9e0f28f9ad52b71623c254b05.tar.gz
CMake-15562c11efa3c3a9e0f28f9ad52b71623c254b05.tar.bz2
Merge topic 'policies'
73e9340 get_target_property: Error on non-existent target. ab9f58f FindQt4: Ensure target exists before calling get_target_property. 37ebeb9 FindQt4: Fix use of get_target_property to use actual target name. 6aabb6a Genex: Use case-sensitive comparison for COMPILER_ID. 5bb53f6 cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy.
Diffstat (limited to 'Tests/RunCMake/CMP0045/empty.cpp')
-rw-r--r--Tests/RunCMake/CMP0045/empty.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0045/empty.cpp b/Tests/RunCMake/CMP0045/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}