Changeset 128295 in webkit


Ignore:
Timestamp:
Sep 12, 2012 5:13:50 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Make it possible to build with "make release" and "make debug" on Windows
https://bugs.webkit.org/show_bug.cgi?id=96488

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-09-12
Reviewed by Tor Arne Vestbø.

A "make debug" is passed through recursively and currently it aborts at Makefile.DerivedSources
because there are no such targets. We want the generated sources to be independent from release
or debug build configurations, so it is sufficient to provide fake debug and release targets that
redirect to the same general-purpose target (first) of creating the derived sources.

  • qmake/mkspecs/features/default_post.prf:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r128292 r128295  
     12012-09-12  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        [Qt] Make it possible to build with "make release" and "make debug" on Windows
     4        https://bugs.webkit.org/show_bug.cgi?id=96488
     5
     6        Reviewed by Tor Arne Vestbø.
     7
     8        A "make debug" is passed through recursively and currently it aborts at Makefile.DerivedSources
     9        because there are no such targets. We want the generated sources to be independent from release
     10        or debug build configurations, so it is sufficient to provide fake debug and release targets that
     11        redirect to the same general-purpose target (first) of creating the derived sources.
     12
     13        * qmake/mkspecs/features/default_post.prf:
     14
    1152012-09-12  Kenneth Rohde Christiansen  <kenneth@webkit.org>
    216
  • trunk/Tools/qmake/mkspecs/features/default_post.prf

    r128174 r128295  
    6969    CONFIG -= debug_and_release
    7070
     71    fake_debug.target = debug
     72    fake_debug.depends = first
     73    QMAKE_EXTRA_TARGETS += fake_debug
     74    fake_release.target = release
     75    fake_release.depends = first
     76    QMAKE_EXTRA_TARGETS += fake_release
     77
    7178    for(generator, GENERATORS) {
    7279        eval($${generator}.CONFIG = target_predeps no_link)
Note: See TracChangeset for help on using the changeset viewer.