<div dir="ltr"><div dir="ltr" class="gmail_msg">Hi,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I ported the work of @inbilla to CMake trunk a few months ago, and fixed quite a few tests on my fork: <a href="https://github.com/packadal/CMake" class="gmail_msg" target="_blank">https://github.com/packadal/CMake</a></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I think it would be best if we tried to synchronize our efforts, since lots of people are interested in getting a FastBuild generator for CMake !</div><div class="gmail_msg">There is a gitter channel that is used to discuss the progress here: <a href="https://gitter.im/inbilla/CMake" class="gmail_msg" target="_blank">https://gitter.im/inbilla/CMake</a></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I hope we can get this to work well enough to be iontegrated in CMake 3.8, but I did not have time to work on this lately.</div><div class="gmail_msg">I hope to get back to it this week, but I am always available for discussion :)</div><div class="gmail_msg"><br></div><div class="gmail_msg">Best</div><div class="gmail_msg"><br class="gmail_msg"></div></div><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">Le dim. 8 janv. 2017 à 05:59, comic fans <<a href="mailto:comicfans44@gmail.com" class="gmail_msg" target="_blank">comicfans44@gmail.com</a>> a écrit :<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello:<br class="gmail_msg">
<br class="gmail_msg">
Fastbuild is a opensource multi platform build tool which has built-in<br class="gmail_msg">
cache/distribute (likes ccache/distcc) and pch/unity build<br class="gmail_msg">
support(<a href="http://fastbuild.org/docs/home.html" rel="noreferrer" class="gmail_msg" target="_blank">http://fastbuild.org/docs/home.html</a>).<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
@inbilla created fastbuild generator based on 3.2.1 here<br class="gmail_msg">
<a href="https://github.com/inbilla/CMake" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/inbilla/CMake</a> , this completed almost everything<br class="gmail_msg">
but didn't continue developing for a while. recently I've rebase his<br class="gmail_msg">
work on master branch, with some<br class="gmail_msg">
tweaks(<a href="https://gitlab.kitware.com/comicfans/cmake/commits/upstream2" rel="noreferrer" class="gmail_msg" target="_blank">https://gitlab.kitware.com/comicfans/cmake/commits/upstream2</a>),now<br class="gmail_msg">
it can builds cmake , and almost llvm/clang,  so I'd like to share<br class="gmail_msg">
this here, hopes more user to test this out.<br class="gmail_msg">
<br class="gmail_msg">
I haven't touch cmake code before so it may not as good as you think.<br class="gmail_msg">
If anyone interested to try this code, any comments and suggestion<br class="gmail_msg">
would be helpful.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
How Fastbuild compares to Ninja :<br class="gmail_msg">
If build locally, fastbuild almost as fast as ninja , but fastbuild<br class="gmail_msg">
provides simpler distrubte support,you can just run fastbuild worker<br class="gmail_msg">
on many woker machine (without need to install toolchain) to speed up.<br class="gmail_msg">
As I tested,<br class="gmail_msg">
<br class="gmail_msg">
host (4core4thread 8GB ) local build clang:  60 min<br class="gmail_msg">
host + worker (6core12thread 32GB) distrubite clang : 30 min<br class="gmail_msg">
<br class="gmail_msg">
Fastbuild Generator current status:<br class="gmail_msg">
<br class="gmail_msg">
 local build works on linux/windows (I don't have mac to test)<br class="gmail_msg">
<br class="gmail_msg">
 some cmake variable not set correctly (RUNTIME_OUTPUT_DIRECTORY,<br class="gmail_msg">
LIBRARY_OUTPUT_DIRECTORY,  how to put CFGIntDir in ?  help needed !),<br class="gmail_msg">
<br class="gmail_msg">
 distrubte build not work (you can list toolchain exe/dll in header,<br class="gmail_msg">
or just copy header from fastbuild src's to make distribute build<br class="gmail_msg">
work) I wonder if cmake has builtin support to list all these files,<br class="gmail_msg">
help needed!<br class="gmail_msg">
<br class="gmail_msg">
config/build on windows must run from vs cmd console, because cmake<br class="gmail_msg">
didn't detect windows SDK for include/link path (Ninja generator also<br class="gmail_msg">
suffer from this). help needed.<br class="gmail_msg">
<br class="gmail_msg">
edit CMake files didn't auto trigger fastbuild auto rebuild, must rerun cmake<br class="gmail_msg">
<br class="gmail_msg">
rerun cmake makes fastbuild rebuild everything. this is fastbuild's<br class="gmail_msg">
shortcoming, author is working on this.<br class="gmail_msg">
<br class="gmail_msg">
custom commands will generate script file (bash/bat) ,should we write<br class="gmail_msg">
commands as argument to sh/cmd , or improve this in fastbuild ?<br class="gmail_msg">
--<br class="gmail_msg">
<br class="gmail_msg">
Powered by <a href="http://www.kitware.com" rel="noreferrer" class="gmail_msg" target="_blank">www.kitware.com</a><br class="gmail_msg">
<br class="gmail_msg">
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" class="gmail_msg" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br class="gmail_msg">
<br class="gmail_msg">
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br class="gmail_msg">
<br class="gmail_msg">
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" class="gmail_msg" target="_blank">http://cmake.org/cmake/help/support.html</a><br class="gmail_msg">
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" class="gmail_msg" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br class="gmail_msg">
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" class="gmail_msg" target="_blank">http://cmake.org/cmake/help/training.html</a><br class="gmail_msg">
<br class="gmail_msg">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" class="gmail_msg" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br class="gmail_msg">
<br class="gmail_msg">
Follow this link to subscribe/unsubscribe:<br class="gmail_msg">
<a href="http://public.kitware.com/mailman/listinfo/cmake-developers" rel="noreferrer" class="gmail_msg" target="_blank">http://public.kitware.com/mailman/listinfo/cmake-developers</a><br class="gmail_msg">
</blockquote></div></div>