summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/FILES-TARGET_OBJECTS.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-26 20:17:46 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-26 20:23:12 (GMT)
commitf4c23ee244768bc53f2e77d20a1d19b13cfd37cb (patch)
tree5c24cdf314c0a053d2a1319f0ef65d363ee691ce /Tests/RunCMake/install/FILES-TARGET_OBJECTS.cmake
parentd272c4d5f7c3090855683d517e987934bd7fe176 (diff)
downloadCMake-f4c23ee244768bc53f2e77d20a1d19b13cfd37cb.zip
CMake-f4c23ee244768bc53f2e77d20a1d19b13cfd37cb.tar.gz
CMake-f4c23ee244768bc53f2e77d20a1d19b13cfd37cb.tar.bz2
Tests: Add case for install(FILES) with TARGET_OBJECTS
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)