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.
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. 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? Rick
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake