Thanks guys, so it is not supported currently in cmake for whatever reasons.
>>That would require cmake to know about all source files which may or may not be the case depending on your cmake rules I am not quite familiar with how cmake works, but in premake, user who write new rules is responsible for removing the file he generated, ex: if _ACTION == 'clean' -- remove the files you generated end Anyway, I've already got my answer, and out-of-place approach is actually enough for me. On Sun, Nov 4, 2012 at 12:43 AM, Andreas Pakulat <ap...@gmx.de> wrote: > Hi, > > On Sat, Nov 3, 2012 at 12:40 PM, lzprgmr <baiyanhu...@gmail.com> wrote: > > Is there any way to clean the generated build system files, like vs > project > > files, make files, it might be ok if generate out-of-place, but for > in-place > > Thats why cmake advertises out of source builds to be used all the time. > > > files, it is really a pain if you want to remove those files, especially > > there are a lot of projects and directories. Ideally, I would expect > there > > is a command like: > > > > cmake -clean > > That would require cmake to know about all source files which may or > may not be the case depending on your cmake rules. So no there is no > such thing at the moment. > > Andreas >
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake