2010/8/25 <aaron.mead...@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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake