summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalOBJ/Sub/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ExternalOBJ/Sub/CMakeLists.txt')
-rw-r--r--Tests/ExternalOBJ/Sub/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/ExternalOBJ/Sub/CMakeLists.txt b/Tests/ExternalOBJ/Sub/CMakeLists.txt
new file mode 100644
index 0000000..35cd30c
--- /dev/null
+++ b/Tests/ExternalOBJ/Sub/CMakeLists.txt
@@ -0,0 +1,3 @@
+set_property(SOURCE ${CUSTOM_OBJECT} PROPERTY GENERATED 1)
+add_executable(ExternalOBJSub ../executable.cxx ${CUSTOM_OBJECT})
+add_dependencies(ExternalOBJSub ExternalOBJ) # depend on generating target