Commit 98cdfc30 authored by Yuchen Deng's avatar Yuchen Deng Committed by Joerg Bornemann

qbs files: Install conditionally shared content

Change-Id: I2f5e946fff7e57760a90eac57d1a1437f1b8b76f
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@nokia.com>
parent 33fce5cf
......@@ -73,6 +73,7 @@ Project {
"src/plugins/valgrind/valgrind.qbs",
"src/plugins/vcsbase/vcsbase.qbs",
"src/plugins/welcome/welcome.qbs",
"src/share/share.qbs",
"src/tools/qtcdebugger/qtcdebugger.qbs",
"src/tools/qtpromaker/qtpromaker.qbs"
]
......
import qbs.base 1.0
Product {
type: ["installed_content"]
name: "SharedConditionally"
Group {
qbs.installDir: "share/qtcreator/externaltools"
fileTags: ["install"]
prefix: "qtcreator/externaltools/"
files: [
"lrelease.xml",
"lupdate.xml",
"qmlviewer.xml",
"sort.xml",
]
}
Group {
condition: qbs.targetOS == "linux"
qbs.installDir: "share/qtcreator/externaltools"
fileTags: ["install"]
files: ["qtcreator/externaltools/vi.xml"]
}
Group {
condition: qbs.targetOS == "mac"
qbs.installDir: "share/qtcreator/externaltools"
fileTags: ["install"]
files: ["qtcreator/externaltools/vi_mac.xml"]
}
Group {
condition: qbs.targetOS == "windows"
qbs.installDir: "share/qtcreator/externaltools"
fileTags: ["install"]
files: ["qtcreator/externaltools/notepad_win.xml"]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment