[CMake] Calculating all C++ dependencies in advance with ninja and gmake makefiles

ori brost oribrost at gmail.com
Fri May 27 16:25:29 EDT 2016


I'm using cmake to generate a build file for a project, using ninja as the
low-level build system. I've noticed that ninja calculates dependencies
while building the source files. Is there any cmake switch that can add to
the build.ninja file a rule that allows generating all dependcies without
compiling anything? (i.e. generate a full .ninja_deps)

Also, is there a solution like this for gmake makefiles created by cmake?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160527/b84114bd/attachment.html>


More information about the CMake mailing list