forked from qt-creator/qt-creator
Qbs: Libraries capitalized and relocated in bin on Windows
Change-Id: I994027ef50f5f7c4ff1b2bef06d9f8db037243e4 Reviewed-by: Marco Bubke <marco.bubke@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
committed by
Joerg Bornemann
parent
791a196f1d
commit
06aa0363b0
@@ -136,8 +136,8 @@ Project {
|
|||||||
Depends { name: "app_version_header" }
|
Depends { name: "app_version_header" }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ["gui", "network"] }
|
Depends { name: "Qt"; submodules: ["gui", "network"] }
|
||||||
Depends { name: "utils" }
|
Depends { name: "Utils" }
|
||||||
Depends { name: "extensionsystem" }
|
Depends { name: "ExtensionSystem" }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"src/app/main.cpp",
|
"src/app/main.cpp",
|
||||||
|
|||||||
6
src/libs/3rdparty/botan/botan.qbs
vendored
6
src/libs/3rdparty/botan/botan.qbs
vendored
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "botan"
|
name: "Botan"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "qt"; submodules: 'core' }
|
Depends { name: "qt"; submodules: 'core' }
|
||||||
|
|||||||
10
src/libs/QtcLibrary.qbs
Normal file
10
src/libs/QtcLibrary.qbs
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
import qbs.base 1.0
|
||||||
|
|
||||||
|
DynamicLibrary {
|
||||||
|
destination: {
|
||||||
|
if (qbs.targetOS === "windows")
|
||||||
|
return "bin"
|
||||||
|
else
|
||||||
|
return "lib"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "aggregation"
|
name: "Aggregation"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
".",
|
".",
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "CPlusPlus"
|
name: "CPlusPlus"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
".",
|
".",
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "extensionsystem"
|
name: "ExtensionSystem"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
".",
|
".",
|
||||||
@@ -15,7 +15,7 @@ DynamicLibrary {
|
|||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ["core", "gui"] }
|
Depends { name: "Qt"; submodules: ["core", "gui"] }
|
||||||
Depends { name: "aggregation" }
|
Depends { name: "Aggregation" }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"plugindetailsview.ui",
|
"plugindetailsview.ui",
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "GLSL"
|
name: "GLSL"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
".",
|
".",
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "LanguageUtils"
|
name: "LanguageUtils"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
".",
|
".",
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "QmlEditorWidgets"
|
name: "QmlEditorWidgets"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
".",
|
".",
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "QmlJS"
|
name: "QmlJS"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
".",
|
".",
|
||||||
@@ -15,8 +15,8 @@ DynamicLibrary {
|
|||||||
]
|
]
|
||||||
cpp.optimization: "fast"
|
cpp.optimization: "fast"
|
||||||
|
|
||||||
Depends { name: "utils" }
|
Depends { name: "Utils" }
|
||||||
Depends { name: "languageutils" }
|
Depends { name: "LanguageUtils" }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ['gui', 'script'] }
|
Depends { name: "Qt"; submodules: ['gui', 'script'] }
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "QmlJSDebugClient"
|
name: "QmlJSDebugClient"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
".",
|
".",
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "symbianutils"
|
name: "symbianutils"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
".",
|
".",
|
||||||
@@ -19,7 +19,7 @@ DynamicLibrary {
|
|||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ["network"]}
|
Depends { name: "Qt"; submodules: ["network"]}
|
||||||
Depends { name: "utils" }
|
Depends { name: "Utils" }
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
condition: qbs.targetOS == "linux" || qbs.targetOS == "mac"
|
condition: qbs.targetOS == "linux" || qbs.targetOS == "mac"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "utils"
|
name: "Utils"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
cpp.defines: [ "QTCREATOR_UTILS_LIB" ]
|
cpp.defines: [ "QTCREATOR_UTILS_LIB" ]
|
||||||
cpp.includePaths: [ ".", "..",
|
cpp.includePaths: [ ".", "..",
|
||||||
@@ -19,7 +19,7 @@ DynamicLibrary {
|
|||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt"; submodules: ['gui', 'network', 'script'] }
|
Depends { name: "Qt"; submodules: ['gui', 'network', 'script'] }
|
||||||
Depends { name: "botan" }
|
Depends { name: "Botan" }
|
||||||
Depends { name: "app_version_header" }
|
Depends { name: "app_version_header" }
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import qbs.base 1.0
|
import qbs.base 1.0
|
||||||
|
import "../QtcLibrary.qbs" as QtcLibrary
|
||||||
|
|
||||||
DynamicLibrary {
|
QtcLibrary {
|
||||||
name: "zeroconf"
|
name: "zeroconf"
|
||||||
destination: "lib"
|
|
||||||
|
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "Qt.network" }
|
Depends { name: "Qt.network" }
|
||||||
|
|||||||
@@ -5,10 +5,9 @@ QtcPlugin {
|
|||||||
name: "Core"
|
name: "Core"
|
||||||
|
|
||||||
Depends { name: "qt"; submodules: ['core', 'gui', 'xml', 'network', 'script', 'sql', 'help'] }
|
Depends { name: "qt"; submodules: ['core', 'gui', 'xml', 'network', 'script', 'sql', 'help'] }
|
||||||
Depends { name: "utils" }
|
Depends { name: "Utils" }
|
||||||
Depends { name: "extensionsystem" }
|
Depends { name: "ExtensionSystem" }
|
||||||
Depends { name: "aggregation" }
|
Depends { name: "Aggregation" }
|
||||||
Depends { name: "pluginspec" }
|
|
||||||
|
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
".",
|
".",
|
||||||
@@ -242,9 +241,9 @@ QtcPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ProductModule {
|
ProductModule {
|
||||||
Depends { name: "aggregation" }
|
Depends { name: "Aggregation" }
|
||||||
Depends { name: "extensionsystem" }
|
Depends { name: "ExtensionSystem" }
|
||||||
Depends { name: "utils" }
|
Depends { name: "Utils" }
|
||||||
cpp.includePaths: [
|
cpp.includePaths: [
|
||||||
"../..",
|
"../..",
|
||||||
"../../libs",
|
"../../libs",
|
||||||
|
|||||||
Reference in New Issue
Block a user