2013/4/4 Daniel Carrera <[email protected]> > On 4 April 2013 11:41, Eric Noulard <[email protected]> wrote: > > You can perfectly add a custom target/command to do that, > > if you do out-of-source build then removing the build dir is ok. > > Thanks. Yes, I am doing out of source builds. > > > Now, this would be a one-shot suicidal target since this will > > basically erase the build tool file (VS project, Makefile, ...) > > which is needed to launch itself :-] > > Why is it suicidal? The Makefile doesn't mean anything. All the > intelligence is in CMakeLists.txt. >
Yes I know. By suicidal I mean that the built tool will remove its own file (but not the CMakeLists.txt off course). i.e: make superclean will succeed , but ... make superclean; make won't since "make superclean" will have thrown the "Makefile" away. -- Erk Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org
-- 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
