summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0046/empty.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-13 13:36:06 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-03-13 13:36:06 (GMT)
commite1a671c7d821e3e240fc2eaf60b0572c8aed31e6 (patch)
tree4c6a63752bc95aa3234c66ec19013346dd53c6ec /Tests/RunCMake/CMP0046/empty.cpp
parent4a6a59a120eeb9a60e0da77eb701af80439a34db (diff)
parentd83245a34f870c373c6db8de94792608f133be58 (diff)
downloadCMake-e1a671c7d821e3e240fc2eaf60b0572c8aed31e6.zip
CMake-e1a671c7d821e3e240fc2eaf60b0572c8aed31e6.tar.gz
CMake-e1a671c7d821e3e240fc2eaf60b0572c8aed31e6.tar.bz2
Merge topic 'fix-CMP0046-warning'
d83245a3 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;
+}