aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/libptyqt/ptyqt.qbs
blob: 3b56dd8e46524e99688a161737414a8afcdfc03b (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
QtcLibrary {
    name: "ptyqt"
    type: "staticlibrary"

    Depends { name: "Qt.core" }
    Depends { name: "Qt.network"; condition: qbs.targetOS.contains("windows") }
    Depends { name: "winpty"; condition: qbs.targetOS.contains("windows") }

    files: [
        "iptyprocess.h",
        "ptyqt.cpp",
        "ptyqt.h",
    ]

    Group {
        name: "ptyqt UNIX files"
        condition: qbs.targetOS.contains("unix")
        files: [
            "unixptyprocess.cpp",
            "unixptyprocess.h",
        ]
    }

    Group {
        name: "ptyqt Windows files"
        condition: qbs.targetOS.contains("windows")
        files: [
            "conptyprocess.cpp",
            "conptyprocess.h",
            "winptyprocess.cpp",
            "winptyprocess.h",
        ]
    }

    Export {
        Depends { name: "cpp" }
        Depends { name: "winpty"; condition: qbs.targetOS.contains("windows") }
        cpp.includePaths: exportingProduct.sourceDirectory
    }
}