summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake')
-rw-r--r--Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake b/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake
new file mode 100644
index 0000000..8e5fdd0
--- /dev/null
+++ b/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake
@@ -0,0 +1,3 @@
+add_library(StaticLib empty.cpp)
+
+file(GENERATE OUTPUT test_output CONTENT $<TARGET_OBJECTS:StaticLib>)