summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_sources/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeCommands/target_sources/main.cpp')
-rw-r--r--Tests/CMakeCommands/target_sources/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_sources/main.cpp b/Tests/CMakeCommands/target_sources/main.cpp
new file mode 100644
index 0000000..622771c
--- /dev/null
+++ b/Tests/CMakeCommands/target_sources/main.cpp
@@ -0,0 +1,16 @@
+#include <iostream>
+
+int empty_1();
+int subdir_empty_1();
+int subdir_empty_2();
+
+int main()
+{
+ int e1 = empty_1();
+ int se1 = subdir_empty_1();
+ int se2 = subdir_empty_2();
+
+ std::cout << e1 << " " << se1 << " " << se2 << std::endl;
+
+ return 0;
+}