[CMake] Visual Studio Generator: different Link paths for Debug and Release

Eric Noulard eric.noulard at gmail.com
Wed Aug 25 12:03:39 EDT 2010


2010/8/25  <aaron.meadows at thomsonreuters.com>:
> Ok, I'll give that a shot.  I wonder if I could iterate the list of targets and make the target_link_libraries() calls on them in a loop.

You can do that.

However I am not aware of a way to get the list of targets
from within a CMakeLists.txt with some cmake command or property.

If you set up your list of target "yourself" then the loop
should works.


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list