2012/8/14 Peng Yu <pengyu...@gmail.com>:
>>> o Makepp will not recompile if only comments or whitespace in
>>>   C/C++ sources have changed.  This is especially important for header
>>>   files which are automatically generated by other programs and are
>>>   included in many modules.  Even if the date has changed because the
>>>   file was remade, makepp won't recompile if the file hasn't changed.
>>>
>>
>> That's plenty dangerous! Only a full C/C++ compiler can decide whether
>> something is a comment or not (as this requires full parsing
>> capabilities) and further it might interfere with compiler bugs; I
>> remember having the problem that with -O3 and old version of the Apple
>> GCC produced code that segfaulted depending on whether a certain comment
>> line was present or not!
>
> This depends on how many different things in C++ are used. With some
> restrictions, the drawbacks of this approach can be circumvented. To
> work with some legacy code which include things that may cause
> failure, makepp may not be the appropriate tool. For a project
> starting from scratch (so these intruding things can be forbidden),
> makepp can be a very good tool as it results in much less makefile to
> write compared with cmake.

>From http://makepp.sourceforge.net/ I read:
"Makepp, a build program which has a number of features that allow for
reliable builds and simpler build files, is a drop-in replacement for
GNU make."

Then why can't you use makepp with Makefiles generated by CMake?

If Makepp cannot use them, then may be you can try to contribute
a Makepp generator to CMake?

If you are concerned with speed of build may be you can try the new Ninja
generator.

Concerning CMake vs (Make vs Makepp vs SCons)
as Michael already mentionned, CMake cannot [easily] do "build-time" action,
like hash computation, because it's a build **generator** not
a build tool.


-- 
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

Reply via email to