[CMake] debug, optimized, and custom
Hendrik Sattler
post at hendrik-sattler.de
Mon Mar 2 15:25:13 EST 2009
Am Montag 02 März 2009 18:24:32 schrieb Dmytro Ovdiienko:
> if I have several configurations (e.g. /MT, /MTd, /MD, /MDd), how can I
> pass additional libraries to the target_link_libraries? I have two
> optimized libaries. One for /MT and one for /MD.
That depends if you want to link statically or dynamic, to MSVCRT. This can be
handled independent from target_link_libraries(), e.g. by a user-settable
option().
HS
More information about the CMake
mailing list