ssh.qbs 2.02 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary

QtcLibrary {
    name: "QtcSsh"

    cpp.defines: ["QSSH_LIBRARY"]
    cpp.includePaths: [ ".", "..",
        "../..",
        "../3rdparty/botan/build",
        buildDirectory
    ]

    Depends { name: "cpp" }
Orgad Shaneh's avatar
Orgad Shaneh committed
15
    Depends { name: "Qt"; submodules: ['widgets', 'network' ] }
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
    Depends { name: "Botan" }

    files: [
        "sftpchannel.h", "sftpchannel_p.h", "sftpchannel.cpp",
        "sftpdefs.cpp", "sftpdefs.h",
        "sftpincomingpacket.cpp", "sftpincomingpacket_p.h",
        "sftpoperation.cpp", "sftpoperation_p.h",
        "sftpoutgoingpacket.cpp", "sftpoutgoingpacket_p.h",
        "sftppacket.cpp", "sftppacket_p.h",
        "sshcapabilities_p.h", "sshcapabilities.cpp",
        "sshchannel.cpp", "sshchannel_p.h",
        "sshchannelmanager.cpp", "sshchannelmanager_p.h",
        "sshconnection.h", "sshconnection_p.h", "sshconnection.cpp",
        "sshconnectionmanager.cpp", "sshconnectionmanager.h",
        "sshcryptofacility.cpp", "sshcryptofacility_p.h",
        "sshkeyexchange.cpp", "sshkeyexchange_p.h",
        "sshkeypasswordretriever_p.h",
        "sshoutgoingpacket.cpp", "sshoutgoingpacket_p.h",
        "sshpacket.cpp", "sshpacket_p.h",
        "sshpacketparser.cpp", "sshpacketparser_p.h",
        "sshremoteprocess.cpp", "sshremoteprocess.h", "sshremoteprocess_p.h",
        "sshremoteprocessrunner.cpp", "sshremoteprocessrunner.h",
        "sshsendfacility.cpp", "sshsendfacility_p.h",
        "sshkeypasswordretriever.cpp",
        "sshkeygenerator.cpp", "sshkeygenerator.h",
        "sshkeycreationdialog.cpp", "sshkeycreationdialog.h", "sshkeycreationdialog.ui",
42
        "sftpfilesystemmodel.cpp", "sftpfilesystemmodel.h",
43 44 45 46 47 48 49
        "sshincomingpacket_p.h", "sshincomingpacket.cpp",
        "ssherrors.h",
        "sshexception_p.h",
        "sshpseudoterminal.h",
        "sshbotanconversions_p.h"
    ]

Christian Kandeler's avatar
Christian Kandeler committed
50 51 52 53 54
    ProductModule {
        Depends { name: "cpp" }
        Depends { name: "Qt"; submodules: ["widgets", "network"] }
        cpp.includePaths: ".."
    }
55
}