Bill Hoffman wrote:
Matthew Woehlke wrote:
Makefile : cmake_check_build_system
Shouldn't this rather be:
Makefile: <list of CMakeLists.txt, etc>
cmake_check_build_system
?
...in which case, the only thing that should get checked is if the
CMakeLists.txt are newer than the Makefile. So in most cases this
should be fast.
We need to run cmake_check_build_system first because make can not
handle missing depend .h files.
I'm not saying to stop doing anything that is currently done.
AFAICT, right now the Makefile itself does not have any dependencies; it
seems that adding 'Makefile: <build system files>' with the rule from
cmake_check_build_system would fix the original problem. So the question
is if running cmake_check_build_system twice in a row can either be
eliminated or kept reasonable.
--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
You're on your own for the pony. -- Richard Hughes, on feature requests
_______________________________________________
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