You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
180 B
8 lines
180 B
5 years ago
|
add_library(lib1 STATIC depends_obj0.c)
|
||
|
add_library(lib2 OBJECT a.c)
|
||
|
target_link_libraries(lib2 PRIVATE lib1)
|
||
|
|
||
|
add_executable(test exe2.c)
|
||
|
|
||
|
target_link_libraries(test PUBLIC lib2)
|