People are talking about GYP on the webkit-dev mailing list.  It would be
nice if we could convince the rest of WebKit to use GYP since it seems we're
pretty committed at this point.  Unfortunately I don't think there are any
GYP experts on that list.

At the moment, it'd be nice to know why we created GYP as opposed to using
something else like cmake.

J

---------- Forwarded message ----------
From: Brent Fulgham <bfulg...@gmail.com>
Date: Sun, Jul 12, 2009 at 9:28 AM
Subject: Re: [webkit-dev] Please welcome GYP to the our dysfunctional build
family
To: Jeremy Orlow <jor...@chromium.org>
Cc: Adam Treat <tr...@kde.org>, Mark Mentovai <m...@chromium.org>, "
webkit-...@lists.webkit.org" <webkit-...@lists.webkit.org>


Hi,

I asked some similar questions on IRC.

On Friday 10 July 2009 12:23:50 am Dimitri Glazkov wrote:
> > As you may know, we use GYP
> > ( <http://code.google.com/p/gyp>http://code.google.com/p/gyp) for
>
generating MSVC, XCode, Scons, and even Make projects for Chromium.
>

On Sun, Jul 12, 2009 at 5:38 AM, Adam Treat < <tr...@kde.org>tr...@kde.org>
>  wrote:
>

> Gyp sounds remarkably similar to CMake to me.
>

On Jul 12, 2009, at 7:42 AM, Jeremy Orlow <jor...@chromium.org> wrote:

>From a quick glance at cmake's website, it seems that it's a build system
and not a project file generator.  I think it was pretty important to us to
generate project files so that you can use the full power of each platform's
IDE and toolchain.


You might want to take a closer look! ;)

CMake generates the desired build environment. So, on Windows it generates
visual studio projects, on Mac OS it generates Xcode projects, and on Linux
it generates Makefiles.

You can override this behavior to get some other target.

It can also drive the entire build, but that's not how a lot of people use
it.
So Cmake seems equivalent to GYP. GYP probably has unique features that make
it more desireable than Cmake for one reason or another (perhaps it's easier
to add new platform support or something), but at the moment those benefits
are not obvious to me.

I'm afraid that as far as I can tell, GYP seems like a case of NIH syndrome.
-Brent

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to