On Thu, Mar 24, 2011 at 9:05 AM, Tomasz Grobelny < tom...@grobelny.oswiecenia.net> wrote:
> Is it possible to configure cmake in such a way that "make clean" command > executed in root directory of my project also cleans external projects? > -- > Regards, > Tomasz Grobelny > _______________________________________________ > 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 > No. (Actually, it *might* be possible, but I wouldn't classify it as trivial or easy, especially with any significant number of ExternalProject calls. You'd have to add all the ExternalProject generated stamp files to the list of extra clean files at the top level...) But a very easy equivalent is simply blow away your whole build tree, re-run cmake, and then make again. Especially for a SuperBuild style project, wherein everything that you are building is an ExternalProject, the top level configure with CMake is very quick. HTH, David
_______________________________________________ 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