summaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/compiler.pri
blob: 3291d6e1f5f7695dd5fd1c7120f2b8dcc73537f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
INCLUDEPATH += $$PWD
INCLUDEPATH += $$OUT_PWD

HEADERS += \
    $$PWD/qv4bytecodegenerator_p.h \
    $$PWD/qv4compileddata_p.h \
    $$PWD/qv4compiler_p.h \
    $$PWD/qv4compilercontext_p.h \
    $$PWD/qv4compilercontrolflow_p.h \
    $$PWD/qv4compilerscanfunctions_p.h \
    $$PWD/qv4codegen_p.h \
    $$PWD/qqmlirbuilder_p.h \
    $$PWD/qv4instr_moth_p.h \
    $$PWD/qv4bytecodehandler_p.h

SOURCES += \
    $$PWD/qv4bytecodegenerator.cpp \
    $$PWD/qv4compileddata.cpp \
    $$PWD/qv4compiler.cpp \
    $$PWD/qv4compilercontext.cpp \
    $$PWD/qv4compilerscanfunctions.cpp \
    $$PWD/qv4codegen.cpp \
    $$PWD/qqmlirbuilder.cpp \
    $$PWD/qv4instr_moth.cpp \
    $$PWD/qv4bytecodehandler.cpp

!qmldevtools_build {

HEADERS += \
    $$PWD/qqmlirloader_p.h \
    $$PWD/qqmlpropertyresolver_p.h \
    $$PWD/qqmltypecompiler_p.h \
    $$PWD/qqmlpropertycachecreator_p.h \
    $$PWD/qqmlpropertyvalidator_p.h \
    $$PWD/qv4compilationunitmapper_p.h \
    $$PWD/qv4executablecompilationunit_p.h

SOURCES += \
    $$PWD/qqmlirloader.cpp \
    $$PWD/qqmlpropertyresolver.cpp \
    $$PWD/qqmltypecompiler.cpp \
    $$PWD/qqmlpropertycachecreator.cpp \
    $$PWD/qqmlpropertyvalidator.cpp \
    $$PWD/qv4compilationunitmapper.cpp \
    $$PWD/qv4executablecompilationunit.cpp

unix: SOURCES += $$PWD/qv4compilationunitmapper_unix.cpp
else: SOURCES += $$PWD/qv4compilationunitmapper_win.cpp
}

gcc {
    equals(QT_GCC_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -fno-strict-aliasing
}