summaryrefslogtreecommitdiff
path: root/src/plugins/cpaster/frontend/frontend.qbs
blob: d8619be38026eea30c7370d6f6d2dae1ae4783f1 (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
import QtcTool

QtcTool {
    name: "cpaster"

    Depends {
        name: "Qt"
        submodules: ["gui", "network"]
    }
    Depends { name: "Core" }
    Depends { name: "CppTools" }

    cpp.rpaths: [
        "$ORIGIN/../" + project.libDirName + "/qtcreator",
        "$ORIGIN/../" + project.libDirName + "/qtcreator/plugins",
        "$ORIGIN/../" + project.libDirName + "/qtcreator/plugins/QtProject"
    ]

    Group {
        name: "Frontend Sources"
        files: [
            "main.cpp",
            "argumentscollector.h", "argumentscollector.cpp"
        ]
    }

    Group {
        name: "Plugin Sources"
        prefix: "../"
        files: [
            "cpasterconstants.h",
            "kdepasteprotocol.h", "kdepasteprotocol.cpp",
            "pastebindotcaprotocol.h", "pastebindotcaprotocol.cpp",
            "pastebindotcomprotocol.h", "pastebindotcomprotocol.cpp",
            "protocol.h", "protocol.cpp",
            "urlopenprotocol.h", "urlopenprotocol.cpp",
        ]
    }
}