aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/ssh.qbs
blob: 9f7c880b953450ca20f578deedcd60e08234364e (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
import qbs 1.0

Project {
    name: "QtcSsh"

    QtcLibrary {
        cpp.defines: {
            var defines = base;
            defines.push("QTCSSH_LIBRARY");
            if (project.withAutotests && !defines.contains("WITH_TESTS"))
                defines.push("WITH_TESTS");
            return defines;
        }
        cpp.enableExceptions: true

        Depends { name: "Qt"; submodules: ["widgets", "network" ] }
        Depends { name: "Utils" }

        files: [
            "sftpdefs.cpp",
            "sftpdefs.h",
            "sftptransfer.cpp",
            "sftptransfer.h",
            "ssh.qrc",
            "sshconnection.h",
            "sshconnection.cpp",
            "sshconnectionmanager.cpp",
            "sshconnectionmanager.h",
            "sshkeycreationdialog.cpp",
            "sshkeycreationdialog.h",
            "sshkeycreationdialog.ui",
            "sshlogging.cpp",
            "sshlogging_p.h",
            "sshsettings.cpp",
            "sshsettings.h",
        ]

        Export { Depends { name: "Qt.network" } }
    }
}