[CMake] an easy way to clean cmake generated files?
Mike Jackson
imikejackson at gmail.com
Mon Mar 24 08:36:34 EDT 2008
Read this link:
http://www.cmake.org/Wiki/CMake:Eclipse_UNIX_Tutorial
I suggest you use the following project layout:
MyProject
|--Build <-- This is where the build will take place.
From a terminal, cd into MyProject/Build
then "cmake ../"
then go back to eclipse and "Refresh" your workspace.
Build your project from within Eclipse. Your binaries and all
debugging should work just fine.
When you really need to "clean" everything, then just delete
everything inside MyProject/Build and rerun cmake.
The link above has more details.
Cheers
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Mar 24, 2008, at 5:23 AM, Ákos Maróy wrote:
> Andreas Pakulat wrote:
>> Use out-of-source builds, then you can just rm -rf builddir and be
>> done.
>
> I'd love to, but I want to use Eclipse for the building itself, and
> it seems Eclipse needs in-source builds to be able to do meaningful
> debugging..
>
>> For in-source-builds this is going to be manual work.
>
> :(
>
> conceptually I don't understand though. it's cmake that knows best
> what temporary files it is generating..
>
>
> Akos
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list