iostool.qbs 668 Bytes
Newer Older
1
import qbs.base 1.0
2
import QtcTool
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

QtcTool {
    name: "iostool"
    condition: qbs.targetOS.contains("osx")

    Depends { name: "Qt.widgets" }
    Depends { name: "Qt.xml" }
    Depends { name: "app_version_header" }

    files: [
        "main.cpp",
        "iosdevicemanager.cpp",
        "iosdevicemanager.h"
    ]
    cpp.linkerFlags: base.concat(["-sectcreate", "__TEXT", "__info_plist", path + "/Info.plist"])
    cpp.frameworks: base.concat(["CoreFoundation", "CoreServices", "IOKit", "Security",
                                 "SystemConfiguration"])
    cpp.libraries: base.concat(["ssl", "bz2"])
21 22

    toolInstallDir: project.ide_libexec_path + "/ios"
23
}