You should do an out-of-source build, and have a separate build directory for each configuration.<br><a href="http://www.cmake.org/Wiki/CMake_FAQ#What_is_an_.22out-of-source.22_build.3F">http://www.cmake.org/Wiki/CMake_FAQ#What_is_an_.22out-of-source.22_build.3F</a><br>
<br>Ryan<br><br><div class="gmail_quote">On Thu, Feb 18, 2010 at 1:38 AM, Anders Backman <span dir="ltr"><<a href="mailto:andersb@cs.umu.se">andersb@cs.umu.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all.<div><br></div><div>Im using latest (2.8 CMake) under Windows, VisualStudio 2008.</div><div><br></div><div><br></div><div>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.</div>
<div><br></div><div>Right now, the obj files etc is created in: src\foo.dir\Debug </div><div>no matter if I build in x86 OR in x64. I would like this to become:</div><div><br></div><div>src\foo.dir\X86\Debug and src\foo.dir\X64\Debug</div>
<div><br></div><div>Is there a way to specify this?<br clear="all"><br></div><div><br></div><div>Cheers,</div><div>Anders</div><div><br>-- <br><br>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br><br clear="all"><br>-- <br>Ryan Pavlik<br>HCI Graduate Student<br>Virtual Reality Applications Center<br>
Iowa State University<br><br><a href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a><br><a href="http://academic.cleardefinition.com">http://academic.cleardefinition.com</a><br>Internal VRAC/HCI Site: <a href="http://tinyurl.com/rpavlik">http://tinyurl.com/rpavlik</a><br>