You should do an out-of-source build, and have a separate build directory
for each configuration.
http://www.cmake.org/Wiki/CMake_FAQ#What_is_an_.22out-of-source.22_build.3F

Ryan

On Thu, Feb 18, 2010 at 1:38 AM, Anders Backman <[email protected]> wrote:

> Hi all.
>
> Im using latest (2.8 CMake) under Windows, VisualStudio 2008.
>
>
> When I mix x86 and x64 builds, I would like to separate the actual output
> directory for the builds so that I dont get problems about mixing build
> types.
>
> Right now, the obj files etc is created in: src\foo.dir\Debug
> no matter if I build in x86 OR in x64. I would like this to become:
>
> src\foo.dir\X86\Debug and src\foo.dir\X64\Debug
>
> Is there a way to specify this?
>
>
> Cheers,
> Anders
>
> --
>
>
> _______________________________________________
> 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
>



-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

[email protected]
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik
_______________________________________________
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

Reply via email to