<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
David Cole ha scritto:
<blockquote
cite="midAANLkTinb87f0CgirNkV4S9pFJ1bwXuk1AKnyOKPBxDJ5@mail.gmail.com"
type="cite">It is *possible*, but you would have to change the source
code to CMake...<br>
<br>
<div>We select directories on a per-target basis to avoid name
clashes between object files named the same but from different targets.</div>
<div><br>
</div>
<div>There is no way to adjust it as a project CMakeLists writer...
intentionally. We view it as helping you avoid name clashes.</div>
<div><br>
</div>
<div>Is there a reason you need to put them in a certain place? Or do
you just want to have the same organization as you had before adopting
CMake? Or...?</div>
<div><br>
</div>
<div>HTH,</div>
<div>David</div>
<div><br>
</div>
<div><br>
<div class="gmail_quote">On Wed, Jan 12, 2011 at 6:54 AM, Andrea
Galeazzi <span dir="ltr"><<a href="mailto:galeazzi@korg.it">galeazzi@korg.it</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is
it possible to change the default path (project.dir) where the object
files (.o or .obj) are put?<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>
</div>
</blockquote>
<br>
The only reason is because we use to put the project files and the
build-binary file in two different units, anyway I don't think it's
gonna be a big deal to have them under the same root folder especially
if the only way is to change the source code of CMake and maintain a
brunch of it! <br>
</body>
</html>