Ignore:
Timestamp:
Apr 27, 2010, 6:55:36 AM (15 years ago)
Author:
[email protected]
Message:

[Qt] Fix Mac build break.

Reviewed by Tor Arne Vestbø.

https://bugs.webkit.org/show_bug.cgi?id=37867

  • Make sure JavaScriptCore's debug_and_release config follows that of WebCore.
  • Use different name for JavaScriptCore target in debug and release since they might be written in the same path at the same time on parallel builds
  • Consolidate the DESTDIR determination logic in JavaScriptCore.pri
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.pro

    r58305 r58306  
    99# which already exists as a directory
    1010TARGET = $$JAVASCRIPTCORE_TARGET
     11DESTDIR = $$JAVASCRIPTCORE_DESTDIR
    1112QT += core
    1213QT -= gui
     
    1617contains(QT_CONFIG, embedded):CONFIG += embedded
    1718
    18 CONFIG(debug_and_release):CONFIG(debug, debug|release): DESTDIR = debug
    19 CONFIG(debug_and_release):CONFIG(release, debug|release): DESTDIR = release
    20 
    21 !CONFIG(QTDIR_build) {
     19CONFIG(QTDIR_build) {
     20    # Make sure we compile both debug and release on mac when inside Qt.
     21    # This line was extracted from qbase.pri instead of including the whole file
     22    win32|mac:!macx-xcode:CONFIG += debug_and_release
     23} else {
    2224    CONFIG(debug, debug|release) {
    2325        OBJECTS_DIR = obj/debug
Note: See TracChangeset for help on using the changeset viewer.