summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetObjects/empty.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-02-26 14:59:18 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-03-31 21:18:44 (GMT)
commitbf98cc252f18e761ed9a57d2f7a9304bfbb621de (patch)
tree11dddd9eb207be750e39a959baae2bb3c115799b /Tests/RunCMake/TargetObjects/empty.cpp
parent8cd113ad1d715cc9ce865956870cd462d3659089 (diff)
downloadCMake-bf98cc252f18e761ed9a57d2f7a9304bfbb621de.zip
CMake-bf98cc252f18e761ed9a57d2f7a9304bfbb621de.tar.gz
CMake-bf98cc252f18e761ed9a57d2f7a9304bfbb621de.tar.bz2
Genex: Evaluate TARGET_OBJECTS as a normal expression.
Diffstat (limited to 'Tests/RunCMake/TargetObjects/empty.cpp')
-rw-r--r--Tests/RunCMake/TargetObjects/empty.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetObjects/empty.cpp b/Tests/RunCMake/TargetObjects/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/TargetObjects/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}