summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0046/empty.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-12 16:59:36 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-03-12 17:01:26 (GMT)
commitd83245a34f870c373c6db8de94792608f133be58 (patch)
tree4b02cb53b78e063e7d5823e05510db863ff576e1 /Tests/RunCMake/CMP0046/empty.cpp
parent7534967b65b03be558940e1a112918ee28d38c20 (diff)
downloadCMake-d83245a34f870c373c6db8de94792608f133be58.zip
CMake-d83245a34f870c373c6db8de94792608f133be58.tar.gz
CMake-d83245a34f870c373c6db8de94792608f133be58.tar.bz2
cmTarget: Don't create duplicate backtraces in CMP0046 warning
Diffstat (limited to 'Tests/RunCMake/CMP0046/empty.cpp')
-rw-r--r--Tests/RunCMake/CMP0046/empty.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0046/empty.cpp b/Tests/RunCMake/CMP0046/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}