CMake/Tests/RunCMake/ObjectLibrary/ObjWithObj.cmake

3 lines
68 B
CMake

add_library(A OBJECT a.c)
add_library(B OBJECT $<TARGET_OBJECTS:A>)