summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ObjectLibrary/ObjWithObj.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/ObjectLibrary/ObjWithObj.cmake')
-rw-r--r--Tests/RunCMake/ObjectLibrary/ObjWithObj.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/ObjectLibrary/ObjWithObj.cmake b/Tests/RunCMake/ObjectLibrary/ObjWithObj.cmake
new file mode 100644
index 0000000..d0ef34b
--- /dev/null
+++ b/Tests/RunCMake/ObjectLibrary/ObjWithObj.cmake
@@ -0,0 +1,2 @@
+add_library(A OBJECT a.c)
+add_library(B OBJECT $<TARGET_OBJECTS:A>)