Bug 161538 - Add basic debugging macros for CMake
Summary: Add basic debugging macros for CMake
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: BJ Burg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-02 11:04 PDT by BJ Burg
Modified: 2019-06-22 07:14 PDT (History)
5 users (show)

See Also:


Attachments
Fix (1.58 KB, patch)
2016-09-02 11:11 PDT, BJ Burg
mcatanzaro: review+
mcatanzaro: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description BJ Burg 2016-09-02 11:04:49 PDT
No need to go google the magic incantation every time...
Comment 1 BJ Burg 2016-09-02 11:11:00 PDT
Created attachment 287784 [details]
Fix
Comment 2 Michael Catanzaro 2016-09-02 12:04:28 PDT
Comment on attachment 287784 [details]
Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=287784&action=review

OK why not?

> Source/cmake/WebKitMacros.cmake:379
> +    set(CMAKE_VERBOSE_MAKEFILE on)

ON (caps, style)
Comment 3 BJ Burg 2017-02-10 15:16:20 PST
Committed r212155: <http://trac.webkit.org/changeset/212155>
Comment 4 Konstantin Tokarev 2019-06-22 07:14:39 PDT
You should not ever have to enable CMAKE_VERBOSE_MAKEFILE. With Makefile generator, use "make VERBOSE=1" when starting build, and with ninja use "ninja -v" option. This way you get verbose output only when you need it, and don't need to wait until cmake regenerates makefiles.

Note that when using ninja, if any command fails you automatically get verbose print-out for it.