summaryrefslogtreecommitdiff
path: root/Tests/CMakeCommands/target_sources/subdir/subdir_empty_1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeCommands/target_sources/subdir/subdir_empty_1.cpp')
-rw-r--r--Tests/CMakeCommands/target_sources/subdir/subdir_empty_1.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_sources/subdir/subdir_empty_1.cpp b/Tests/CMakeCommands/target_sources/subdir/subdir_empty_1.cpp
new file mode 100644
index 000000000..3c61321a1
--- /dev/null
+++ b/Tests/CMakeCommands/target_sources/subdir/subdir_empty_1.cpp
@@ -0,0 +1,21 @@
+#ifdef IS_LIB
+
+# ifdef _WIN32
+__declspec(dllexport)
+# endif
+ int internal_subdir_empty_1()
+{
+ return 0;
+}
+
+#else
+
+# ifdef _WIN32
+__declspec(dllexport)
+# endif
+ int subdir_empty_1()
+{
+ return 0;
+}
+
+#endif