Changeset 34767 in webkit for trunk/JavaScriptCore/pcre/pcre.pri


Ignore:
Timestamp:
Jun 24, 2008, 7:33:32 AM (17 years ago)
Author:
Simon Hausmann
Message:

2008-06-24 Joerg Bornemann <[email protected]>

Reviewed by Simon.

For the Qt build on Windows don't depend on the presence of GNU CPP
but use MSVC's preprocessor instead.
dftables accepts a --preprocessor option which is set in pcre.pri for MSVC platforms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre.pri

    r29402 r34767  
    2424
    2525# GENERATOR: "chartables.c": compile and execute the chartables generator (and add it to sources)
     26win32-msvc*|wince*: PREPROCESSOR = "--preprocessor=\"$$QMAKE_CC /E\""
    2627DFTABLES = $$PWD/dftables
    2728ctgen.input = DFTABLES
    2829ctgen.output = $$GENERATED_SOURCES_DIR/chartables.c
    29 ctgen.commands = perl $$DFTABLES ${QMAKE_FILE_OUT}
     30ctgen.commands = perl $$DFTABLES ${QMAKE_FILE_OUT} $$PREPROCESSOR
    3031ctgen.CONFIG += target_predeps no_link
    3132ctgen.variable_out = GENERATED_SOURCES
Note: See TracChangeset for help on using the changeset viewer.