aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/tools/tools.pri
blob: fca3d8f4b0c5fd13373fdea7eba7a666f84c1f37 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
INCLUDEPATH += $$PWD/../.. # for plugins

HEADERS += \
    $$PWD/codelocation.h \
    $$PWD/error.h \
    $$PWD/fileinfo.h \
    $$PWD/filetime.h \
    $$PWD/id.h \
    $$PWD/persistence.h \
    $$PWD/scannerpluginmanager.h \
    $$PWD/scripttools.h \
    $$PWD/settings.h \
    $$PWD/preferences.h \
    $$PWD/profile.h \
    $$PWD/processresult.h \
    $$PWD/processresult_p.h \
    $$PWD/progressobserver.h \
    $$PWD/propertyfinder.h \
    $$PWD/hostosinfo.h \
    $$PWD/buildoptions.h \
    $$PWD/installoptions.h \
    $$PWD/cleanoptions.h \
    $$PWD/setupprojectparameters.h \
    $$PWD/persistentobject.h \
    $$PWD/weakpointer.h \
    $$PWD/qbs_export.h \
    $$PWD/qbsassert.h \
    $$PWD/qttools.h

SOURCES += \
    $$PWD/codelocation.cpp \
    $$PWD/error.cpp \
    $$PWD/fileinfo.cpp \
    $$PWD/id.cpp \
    $$PWD/persistence.cpp \
    $$PWD/scannerpluginmanager.cpp \
    $$PWD/scripttools.cpp \
    $$PWD/settings.cpp \
    $$PWD/preferences.cpp \
    $$PWD/processresult.cpp \
    $$PWD/profile.cpp \
    $$PWD/progressobserver.cpp \
    $$PWD/propertyfinder.cpp \
    $$PWD/buildoptions.cpp \
    $$PWD/installoptions.cpp \
    $$PWD/cleanoptions.cpp \
    $$PWD/setupprojectparameters.cpp \
    $$PWD/qbsassert.cpp \
    $$PWD/qttools.cpp

win32 {
    SOURCES += $$PWD/filetime_win.cpp
}

unix {
    SOURCES += $$PWD/filetime_unix.cpp
}

all_tests {
    HEADERS += $$PWD/tst_tools.h
    SOURCES += $$PWD/tst_tools.cpp
}

!qbs_no_dev_install {
    tools_headers.files = \
        $$PWD/cleanoptions.h \
        $$PWD/codelocation.h \
        $$PWD/error.h \
        $$PWD/settings.h \
        $$PWD/preferences.h \
        $$PWD/profile.h \
        $$PWD/processresult.h \
        $$PWD/qbs_export.h \
        $$PWD/buildoptions.h \
        $$PWD/installoptions.h \
        $$PWD/setupprojectparameters.h
    tools_headers.path = $${QBS_INSTALL_PREFIX}/include/qbs/tools
    INSTALLS += tools_headers
}