1 # Perl Compatible Regular Expressions - Qt4 build info
3 INCLUDEPATH += $$PWD $$OUTPUT_DIR/JavaScriptCore/kjs/tmp
6 isEmpty(GENERATED_SOURCES_DIR):GENERATED_SOURCES_DIR = tmp
12 pcre_ucp_searchfuncs.cpp \
15 !CONFIG(QTDIR_build) {
16 defineTest(addExtraCompiler) {
17 QMAKE_EXTRA_COMPILERS += $$1
18 generated_files.depends += compiler_$${1}_make_all
19 export(QMAKE_EXTRA_COMPILERS)
20 export(generated_files.depends)
25 # GENERATOR: "chartables.c": compile and execute the chartables generator (and add it to sources)
26 DFTABLES = $$PWD/dftables
27 ctgen.input = DFTABLES
28 ctgen.output = $$GENERATED_SOURCES_DIR/chartables.c
29 ctgen.commands = perl $$DFTABLES ${QMAKE_FILE_OUT}
30 ctgen.CONFIG += target_predeps no_link
31 ctgen.variable_out = GENERATED_SOURCES
32 ctgen.dependency_type = TYPE_C
33 ctgen.clean = ${QMAKE_FILE_OUT} ${QMAKE_VAR_GENERATED_SOURCES_DIR}${QMAKE_FILE_BASE}
34 addExtraCompiler(ctgen)