<div dir="ltr">That was the first thing I tried.  I even tried doing this with a freshly checked-out source tree, and it still wrote all of the files to the root of the source tree.  This was working for me as recently as Tuesday, so I'm not sure what might have changed. <div>
<br></div><div>Rick</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 17, 2014 at 1:30 PM, Nils Gladitz <span dir="ltr"><<a href="mailto:nilsgladitz@gmail.com" target="_blank">nilsgladitz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 17.05.2014 18:43, Rick McGuire wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Today, I wanted to create a third build subdirectory so I could start work on NSIS installer builds.  However, when I run the cmake command with the NMake Makefiles generator (the same generator used for the other builds), it is insisting on writing the files to the root of the source tree (the same directory containing the CMakeLists.txt file) rather than in the current directory?  I've tried all sorts of combinations here, but can't seem to replicate my earlier success at creating the debug and release subdirectories originally.  What's going on here?<br>

<br>
</blockquote>
<br></div>
Maybe you accidentally performed an in-source directory configuration at some point (does your source directory contain CMakeCache.txt/CMakeFiles?).<br>
CMake can be given a source directory or an existing build directory.<br>
If it is given an existing build directory (which may happen to coincide with the source directory in case you did perform an in-source directory configuration) it will not create a new build directory.<br>
<br>
Try cleaning up the source directory (remove at least CMakeCache.txt/CMakeFiles) and try again.<span class="HOEnZb"><font color="#888888"><br>
<br>
Nils<br>
</font></span></blockquote></div><br></div>