[CMake] Run clean before automatically re-running cmake?

Abe Bachrach abachrach at gmail.com
Fri Feb 14 11:00:12 EST 2014


I'd only want to do a full build if one of the CMakeLists.txt has changed
(cmake needs to get re-run). Otherwise, I'd like to do a normal build.


On Thu, Feb 13, 2014 at 4:52 AM, Ian Liu Rodrigues <ian.liu88 at gmail.com>wrote:

>  You are correct that I would prefer that behavior, however I'd prefer to
>> go for safety (and do a full clean) until that more advanced logic can be
>> implemented... I am in fact using ninja, so hopefully that feature may come
>> down the pipe soon :-)
>>
>
> If you want a full build, why don't you just rm -rf build && mkdir build
> && cd build && cmake ..?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140214/ccb49964/attachment.html>


More information about the CMake mailing list