<div dir="ltr"><span class="">On Tue, Sep 19, 2017 at 11:34 AM, Ivam Pretti <span dir="ltr"><<a href="mailto:ivamprettimn@gmail.com" target="_blank">ivamprettimn@gmail.com</a>></span> wrote:</span><br><span class=""></span><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I would like to know what are the advantages or difference when compared to GCC compiler.</div>
<br></blockquote><div><br></div></span><div>I understand from the topic you mean compared to cmake; but the two are two different things</div><div>gcc is a compiler</div><div>cmake is a build system that uses compilers</div><div>it'd be more meaningful to say make v cmake... </div><div><br></div><div>so there is no comparison... definatly an apples and steak comparison (or orange would at least be fruit)</div></div></div></div></blockquote><div><br></div><div>I think it's even more accurate to say CMake is not a buildsystem either, but a *generator* of buildsystems. How it works:</div><div><br></div><div>CMake generates a buildsystem (such as Makefiles, build.ninja, a Visual Studio .sln file). Then a build tool (such as make, ninja, Visual Studio, XCode) interprets that buildsystem to issue compilation commands. These commands are executed by a compiler (such as gcc, clang, cl).</div><div><br></div><div>I fully agree with comparing GCC to CMake being an apples to steaks comparison (and I'm stealing that phrase for future use) :-)</div><div><br></div><div>Petr<br></div></div><br></div></div>