aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/corelib.pro
blob: 6a5f4bff346751e071297e9560f3823a596f9cc3 (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
TARGET = qbscore
include(../library.pri)

QT += script
all_tests:QT += testlib
qbs_enable_project_file_updates: QT += gui

INCLUDEPATH += $$PWD

CONFIG += depend_includepath
DEFINES += QT_CREATOR QML_BUILD_STATIC_LIB      # needed for QmlJS

DEFINES += SRCDIR=\\\"$$PWD\\\"

include(api/api.pri)
include(buildgraph/buildgraph.pri)
include(jsextensions/jsextensions.pri)
include(language/language.pri)
include(logging/logging.pri)
include(parser/parser.pri)
include(tools/tools.pri)

HEADERS += \
    qbs.h

!qbs_no_dev_install {
    qbs_h.files = qbs.h
    qbs_h.path = $${QBS_INSTALL_PREFIX}/include/qbs
    use_pri.files = use_installed_corelib.pri ../../../qbs_version.pri
    use_pri.path = $${qbs_h.path}
    INSTALLS += qbs_h use_pri
}