[CMake] Configuring different output file names for debug and release

Mike Jackson imikejackson at gmail.com
Fri May 11 09:09:40 EDT 2007


On May 11, 2007, at 7:55 AM, Angel Riesgo wrote:

> Hi,
>
> My second question is how I can prevent CMake from adding “debug”  
> and “release” intermediate directories to the output path. In the  
> CMakeLists.txt file, I am setting LIBRARY_OUTPUT_PATH to a path  
> ending in lib/win/, but the Visual C++ project always has an extra $ 
> (OutDir) appended to that. This means that the actual output  
> directory ends up being lib/win/debug or lib/win/release, which is  
> not what we want.
>
> I would really appreciate it if anyone can shed some light on this  
> issue.
>
> A. J. Riesgo
>

Visual Studio adds the Debug and Release folders on its own. I have  
not found a way to change this although my knowledge of VC++ is limited.

-- 
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070511/589c1ba8/attachment.htm


More information about the CMake mailing list