]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - pcre/pcre.pri
JavaScriptCore-521.tar.gz
[apple/javascriptcore.git] / pcre / pcre.pri
index c2e93126a6d8f06972fa5fc69bce3edfe5d22f7b..c33c67ce97ae6da38015e99385200aa46ec86a40 100644 (file)
@@ -1,6 +1,6 @@
 # Perl Compatible Regular Expressions - Qt4 build info
 VPATH += $$PWD
-INCLUDEPATH += $$PWD $$OUTPUT_DIR/JavaScriptCore/kjs/tmp
+INCLUDEPATH += $$PWD $$OUTPUT_DIR/JavaScriptCore/tmp
 DEPENDPATH += $$PWD
 
 isEmpty(GENERATED_SOURCES_DIR):GENERATED_SOURCES_DIR = tmp
@@ -23,10 +23,11 @@ SOURCES += \
 }
 
 # GENERATOR: "chartables.c": compile and execute the chartables generator (and add it to sources)
+win32-msvc*|wince*: PREPROCESSOR = "--preprocessor=\"$$QMAKE_CC /E\""
 DFTABLES = $$PWD/dftables
 ctgen.input = DFTABLES
 ctgen.output = $$GENERATED_SOURCES_DIR/chartables.c
-ctgen.commands = perl $$DFTABLES ${QMAKE_FILE_OUT}
+ctgen.commands = perl $$DFTABLES ${QMAKE_FILE_OUT} $$PREPROCESSOR
 ctgen.CONFIG += target_predeps no_link
 ctgen.variable_out = GENERATED_SOURCES
 ctgen.dependency_type = TYPE_C