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

2010-08-25 Thread aaron.meadows
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

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

2010-08-25 Thread Hendrik Sattler
Zitat von aaron.mead...@thomsonreuters.com: 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

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

2010-08-25 Thread Eric Noulard
2010/8/25 aaron.mead...@thomsonreuters.com: 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

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

2010-08-25 Thread Eric Noulard
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

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

2010-08-25 Thread aaron.meadows
C. Cc: cmake@cmake.org Subject: Re: [CMake] Visual Studio Generator: different Link paths for Debug and Release 2010/8/25 aaron.mead...@thomsonreuters.com: 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