<div dir="ltr">I thought I had a handle on how to do out-of-source builds, but suddenly, cmake has started doing something very strange when I try to create a new build. <div><br></div><div>I have a source tree checked out in one location.  In another location (a "sibling" directory to the source tree), I have a builds subdirectory in which I have my various working builds.  I was able to create one build directory for a debug build and a second to check out the release builds.  Everything seems to be working the way I expected and everything is building correctly.  </div>
<div><br></div><div>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?  </div>
<div><br></div><div>Rick</div></div>