How to link a library based on build configuration?

We have a number of test libraries that would need to be linked with debug builds, but not the release builds.


I'd like to avoid the obvious route to create additional targets, because beside the libraries these targets would have exactly the same files.


Shouldn't this be possible using some additional „Run Script“ phases?


Any hints are appreciated!


Best regards


Klaus

How to link a library based on build configuration?
 
 
Q