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.

Rick


On Sat, May 17, 2014 at 1:30 PM, Nils Gladitz <nilsglad...@gmail.com> wrote:

> On 17.05.2014 18:43, Rick McGuire wrote:
>
>>
>> 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?
>>
>>
> Maybe you accidentally performed an in-source directory configuration at
> some point (does your source directory contain CMakeCache.txt/CMakeFiles?).
> CMake can be given a source directory or an existing build directory.
> 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.
>
> Try cleaning up the source directory (remove at least
> CMakeCache.txt/CMakeFiles) and try again.
>
> Nils
>
-- 

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

Reply via email to