Hi all.
I need to use different link paths for Debug and Release builds of my software. I'm building with the Visual Studio Generator (2005, 2008, etc). I had put this in my CMakeLists.txt, but as it turns out, this doesn't do what I need (likely because of the single pass to generate the project files): if(DEBUG) link_directories("$ENV{RDFD3RDPARTYDIR}/lib/Debug") else() link_directories("$ENV{RDFD3RDPARTYDIR}/lib/Release") endif() So, my question: is there a way to have different link directory paths for each configuration in visual studio without generating multiple build directories for VS? Thanks for the help! Aaron Meadows Software Engineer Thomson Reuters Phone: 314.468.3530 Mobile: 636.541.6139 aaron.mead...@thomsonreuters.com thomsonreuters.com This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
_______________________________________________ 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