Bug 139055 - [EFL] Add warning if CMake version is too old for building with ninja.
Summary: [EFL] Add warning if CMake version is too old for building with ninja.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-26 00:51 PST by Bartlomiej Gajda
Modified: 2014-11-28 01:50 PST (History)
2 users (show)

See Also:


Attachments
proposed patch (2.04 KB, patch)
2014-11-26 00:53 PST, Bartlomiej Gajda
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartlomiej Gajda 2014-11-26 00:51:55 PST
CMake 2.8.9 does not know CMAKE_NINJA_FORCE_RESPONSE_FILE, so it won't allow You to build WebKit using ninja.

On Ubuntu 12.04 (which many people still use as it was previous LTS) doing 'apt-get install cmake' You do get 2.8.9.
Apparently same situation occurs in 12.10 ( https://lists.webkit.org/pipermail/webkit-gtk/2014-March/001809.html )

I thought we might add small warning (and for 12.04 proposed solution), if such old version will be detected to inform developer at time, to save him searching.

Opinions?
Comment 1 Bartlomiej Gajda 2014-11-26 00:53:38 PST
Created attachment 242220 [details]
proposed patch
Comment 2 Gyuyoung Kim 2014-11-27 18:02:14 PST
Comment on attachment 242220 [details]
proposed patch

LGTM.
Comment 3 WebKit Commit Bot 2014-11-28 01:49:58 PST
Comment on attachment 242220 [details]
proposed patch

Clearing flags on attachment: 242220

Committed r176560: <http://trac.webkit.org/changeset/176560>
Comment 4 WebKit Commit Bot 2014-11-28 01:50:01 PST
All reviewed patches have been landed.  Closing bug.