process_stub.qbs 423 Bytes
Newer Older
Orgad Shaneh's avatar
Orgad Shaneh committed
1
import qbs.base 1.0
2
import QtcTool
Orgad Shaneh's avatar
Orgad Shaneh committed
3 4 5 6 7 8 9

QtcTool {
    name: "qtcreator_process_stub"
    consoleApplication: true


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

    cpp.dynamicLibraries: {
Joerg Bornemann's avatar
Joerg Bornemann committed
18
        if (qbs.targetOS.contains("windows")) {
19
            return [ "shell32" ]
Orgad Shaneh's avatar
Orgad Shaneh committed
20 21 22
        }
    }
}