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.
|
|
|
include(${RunCMake_TEST_SOURCE_DIR}/LinkBinariesBuildPhase_Funcs.cmake)
|
|
|
|
include(${RunCMake_TEST_BINARY_DIR}/foundLibs.cmake)
|
|
|
|
|
|
|
|
# obj2 --> Embeds func3.o in the link flags, but obj2 is part of the path
|
|
|
|
# ${libz} --> This is for imported2
|
|
|
|
|
|
|
|
foreach(mainTarget IN ITEMS app1 app2 app3 shared1 shared3 shared4 module1 sharedFramework1)
|
|
|
|
checkFlags(OTHER_LDFLAGS ${mainTarget}
|
|
|
|
"static2;shared2;staticFramework2;sharedFramework2;obj2;${libz};${libresolv};CoreFoundation;sharedFrameworkExt;staticFrameworkExt"
|
|
|
|
""
|
|
|
|
)
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
foreach(mainTarget IN ITEMS static1 staticFramework1)
|
|
|
|
checkFlags(OTHER_LIBTOOLFLAGS ${mainTarget}
|
|
|
|
"obj2"
|
|
|
|
"static2;shared2;staticFramework2;sharedFramework2;${libz};${libresolv};CoreFoundation;sharedFrameworkExt;staticFrameworkExt"
|
|
|
|
)
|
|
|
|
endforeach()
|