[CMake] Feature request: generic (config-like) selector on target_link_libraries

Denis Scherbakov denis_scherbakov at yahoo.com
Tue Mar 24 10:15:58 EDT 2009


I am not sure, but I think you could also look into ADD_CUSTOM_COMMAND
and it's PRE_LINK feature. You could run your own script before linking
is done and replace lib4 target with what you want - lib4a version or lib4b.

Denis


      


More information about the CMake mailing list