summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetSources/empty_4.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-07-08 18:18:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-02 21:14:02 (GMT)
commit9407174b1a0f1b4f8edf7fe08cc85ab6e990d59f (patch)
treec8f774f994fd696ff0189294c3a4cceefc642796 /Tests/RunCMake/TargetSources/empty_4.cpp
parent81ad69e056d6c6dd2360e3345f6d99f268ee9e54 (diff)
downloadCMake-9407174b1a0f1b4f8edf7fe08cc85ab6e990d59f.zip
CMake-9407174b1a0f1b4f8edf7fe08cc85ab6e990d59f.tar.gz
CMake-9407174b1a0f1b4f8edf7fe08cc85ab6e990d59f.tar.bz2
target_sources: New command to add sources to target.
Diffstat (limited to 'Tests/RunCMake/TargetSources/empty_4.cpp')
-rw-r--r--Tests/RunCMake/TargetSources/empty_4.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetSources/empty_4.cpp b/Tests/RunCMake/TargetSources/empty_4.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/TargetSources/empty_4.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}