summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/FILES-TARGET_OBJECTS.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/install/FILES-TARGET_OBJECTS.cmake')
-rw-r--r--Tests/RunCMake/install/FILES-TARGET_OBJECTS.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/FILES-TARGET_OBJECTS.cmake b/Tests/RunCMake/install/FILES-TARGET_OBJECTS.cmake
new file mode 100644
index 0000000..40c58ad
--- /dev/null
+++ b/Tests/RunCMake/install/FILES-TARGET_OBJECTS.cmake
@@ -0,0 +1,3 @@
+enable_language(C)
+add_library(objs OBJECT obj1.c obj2.c)
+install(FILES $<TARGET_OBJECTS:objs> DESTINATION objs)