process_stub.qbs 466 Bytes
Newer Older
Orgad Shaneh's avatar
Orgad Shaneh committed
1 2 3 4 5 6 7 8 9 10
import qbs.base 1.0
import "../../tools/QtcTool.qbs" as QtcTool

QtcTool {
    name: "qtcreator_process_stub"
    consoleApplication: true

    Depends { name: "cpp" }

    files: {
Yuchen Deng's avatar
Yuchen Deng committed
11
        if (qbs.targetOS == "windows") {
Orgad Shaneh's avatar
Orgad Shaneh committed
12 13 14 15 16 17 18
            return [ "process_stub_win.c" ]
        } else {
            return [ "process_stub_unix.c" ]
        }
    }

    cpp.dynamicLibraries: {
Yuchen Deng's avatar
Yuchen Deng committed
19
        if (qbs.targetOS == "windows") {
20
            return [ "shell32" ]
Orgad Shaneh's avatar
Orgad Shaneh committed
21 22 23
        }
    }
}