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.
11 lines
306 B
11 lines
306 B
3 years ago
|
add_library(fw SHARED IMPORTED)
|
||
|
set_target_properties(fw PROPERTIES
|
||
|
FRAMEWORK TRUE
|
||
|
IMPORTED_LOCATION "/no/exist/fw.framework/Versions/A/fw"
|
||
|
IMPORTED_SONAME "@rpath/fw.framework/Versions/A/fw"
|
||
|
)
|
||
|
|
||
|
add_custom_target(print_fw ALL COMMAND
|
||
|
${CMAKE_COMMAND} -E echo "xxx$<TARGET_SONAME_FILE:fw>xxx"
|
||
|
)
|