They are placed in the current directory. Run it from another directory and then give the path to the source tree, as in:<div><br></div><div>checkout source tree to "source" directory</div><div>mkdir build</div><div>
cd build</div><div>cmake -G "Unix Makefiles" ../source</div><div><br></div><div>In this example, source and build are siblings...</div><div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br><br><div class="gmail_quote">
On Fri, Dec 5, 2008 at 1:15 PM, Robert Dailey <span dir="ltr"><<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br><br>Instead of using the GUI frontend for CMake on windows, I'm choosing to use the command line directly (Don't ask why). How can I specify the directory for which the target files are placed when I run "cmake -G"? Right now all of the vcproj files and cache are being placed in the same directories as my source tree, which I do not want.<br>
<br>Thanks.<br>
<br>_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><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>