2008/9/9 Robert Kubrick [EMAIL PROTECTED]:
I did not use an out of source build, so that of course would simplify
things, but I still think that a command like:
cmake erase
Would be convenient to clear all cmake generated files and roll-back to the
scenario *before* 'cmake .' Yes, I can
On Tue, Sep 9, 2008 at 12:50 PM, Robert Kubrick [EMAIL PROTECTED]wrote:
I did not use an out of source build, so that of course would simplify
things, but I still think that a command like:
cmake erase
Would be convenient to clear all cmake generated files and roll-back to the
scenario
Aleix wrote:
I still wonder why cmake does let to build a builddir in a non-empty
folder...
$ rm CMakeCache.txt
$ cmake ../src
CMake error: build dir not empty
:-)
I think it would be impossible to determine if the build dir contains
*only* files generated by cmake. (For example, you
I was wondering if there is a standard command to clear all cmake
files, including CMakeLists.txt, CMakeCache.txt, the CMakeFiles
directory and cmake_install.cmake?
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
If you used an out of source build then you can simply delete the
build directory. If you did NOT use an out-of-source build then you
are going to have to hand pick through your source directories to find
everything that does not belong.
With that said CMakeCache.txt is the first obvious
On Sep 9, 2008, at 10:36 AM, Mike Jackson wrote:
If you used an out of source build then you can simply delete the
build directory. If you did NOT use an out-of-source build then you
are going to have to hand pick through your source directories to
find everything that does not belong.
I am going to assume then that you DID in fact use an out of source
build for your project. Assuming that build directory is called
Build the command is:
rm -rf Build/ (Linux/Unix/OS X)
Use Windows Explorer to delete the entire build tree on Windows.
Those are the commands.
Granted they
I did not use an out of source build, so that of course would
simplify things, but I still think that a command like:
cmake erase
Would be convenient to clear all cmake generated files and roll-back
to the scenario *before* 'cmake .' Yes, I can remove files manually
but the user is not
And hence the reason to use an out of source build. That alleviates
the problem.
Now, just in case you are still new to cmake, here is a subtle FYI
about out of source builds. The build directory can be a sub
directory of your project.
MyProject/
src/
includes/
Build ===
This is not possible because you might have more build directories and might
not want to delete them all. plus the builddirs are not linked to srcdirs.
I still wonder why cmake does let to build a builddir in a non-empty
folder...
On Tue, Sep 9, 2008 at 6:50 PM, Robert Kubrick [EMAIL
10 matches
Mail list logo