summaryrefslogtreecommitdiffstats
path: root/qmake/doc/snippets/qmake/scopes.pro
blob: 63b9b3aa55fdb3aca1b1adea1fc4a0eb2eb1b4f4 (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
#! [syntax]
<condition> {
    <command or definition>
    ...
}
#! [syntax]

#! [0]
win32 {
    SOURCES += paintwidget_win.cpp
}
#! [0]

#! [1]
!win32 {
    SOURCES -= paintwidget_win.cpp
}
#! [1]

unix {
    SOURCES += paintwidget_unix.cpp
}

#! [2]
macx {
    CONFIG(debug, debug|release) {
        HEADERS += debugging.h
    }
}
#! [2]

#! [3]
macx:CONFIG(debug, debug|release) {
    HEADERS += debugging.h
}
#! [3]

#! [4]
win32|macx {
    HEADERS += debugging.h
}
#! [4]