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: "cpp" }
|
||||
Depends { name: "Qt"; submodules: ["gui", "network"] }
|
||||
Depends { name: "utils" }
|
||||
Depends { name: "extensionsystem" }
|
||||
Depends { name: "Utils" }
|
||||
Depends { name: "ExtensionSystem" }
|
||||
|
||||
files: [
|
||||
"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 "../../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
name: "botan"
|
||||
destination: "lib"
|
||||
QtcLibrary {
|
||||
name: "Botan"
|
||||
|
||||
Depends { name: "cpp" }
|
||||
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 "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
name: "aggregation"
|
||||
destination: "lib"
|
||||
QtcLibrary {
|
||||
name: "Aggregation"
|
||||
|
||||
cpp.includePaths: [
|
||||
".",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import qbs.base 1.0
|
||||
import "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
QtcLibrary {
|
||||
name: "CPlusPlus"
|
||||
destination: "lib"
|
||||
|
||||
cpp.includePaths: [
|
||||
".",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import qbs.base 1.0
|
||||
import "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
name: "extensionsystem"
|
||||
destination: "lib"
|
||||
QtcLibrary {
|
||||
name: "ExtensionSystem"
|
||||
|
||||
cpp.includePaths: [
|
||||
".",
|
||||
@@ -15,7 +15,7 @@ DynamicLibrary {
|
||||
|
||||
Depends { name: "cpp" }
|
||||
Depends { name: "Qt"; submodules: ["core", "gui"] }
|
||||
Depends { name: "aggregation" }
|
||||
Depends { name: "Aggregation" }
|
||||
|
||||
files: [
|
||||
"plugindetailsview.ui",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import qbs.base 1.0
|
||||
import "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
QtcLibrary {
|
||||
name: "GLSL"
|
||||
destination: "lib"
|
||||
|
||||
cpp.includePaths: [
|
||||
".",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import qbs.base 1.0
|
||||
import "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
QtcLibrary {
|
||||
name: "LanguageUtils"
|
||||
destination: "lib"
|
||||
|
||||
cpp.includePaths: [
|
||||
".",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import qbs.base 1.0
|
||||
import "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
QtcLibrary {
|
||||
name: "QmlEditorWidgets"
|
||||
destination: "lib"
|
||||
|
||||
cpp.includePaths: [
|
||||
".",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import qbs.base 1.0
|
||||
import "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
QtcLibrary {
|
||||
name: "QmlJS"
|
||||
destination: "lib"
|
||||
|
||||
cpp.includePaths: [
|
||||
".",
|
||||
@@ -15,8 +15,8 @@ DynamicLibrary {
|
||||
]
|
||||
cpp.optimization: "fast"
|
||||
|
||||
Depends { name: "utils" }
|
||||
Depends { name: "languageutils" }
|
||||
Depends { name: "Utils" }
|
||||
Depends { name: "LanguageUtils" }
|
||||
Depends { name: "cpp" }
|
||||
Depends { name: "Qt"; submodules: ['gui', 'script'] }
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import qbs.base 1.0
|
||||
import "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
QtcLibrary {
|
||||
name: "QmlJSDebugClient"
|
||||
destination: "lib"
|
||||
|
||||
cpp.includePaths: [
|
||||
".",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import qbs.base 1.0
|
||||
import "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
QtcLibrary {
|
||||
name: "symbianutils"
|
||||
destination: "lib"
|
||||
|
||||
cpp.includePaths: [
|
||||
".",
|
||||
@@ -19,7 +19,7 @@ DynamicLibrary {
|
||||
|
||||
Depends { name: "cpp" }
|
||||
Depends { name: "Qt"; submodules: ["network"]}
|
||||
Depends { name: "utils" }
|
||||
Depends { name: "Utils" }
|
||||
|
||||
Group {
|
||||
condition: qbs.targetOS == "linux" || qbs.targetOS == "mac"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import qbs.base 1.0
|
||||
import "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
name: "utils"
|
||||
destination: "lib"
|
||||
QtcLibrary {
|
||||
name: "Utils"
|
||||
|
||||
cpp.defines: [ "QTCREATOR_UTILS_LIB" ]
|
||||
cpp.includePaths: [ ".", "..",
|
||||
@@ -19,7 +19,7 @@ DynamicLibrary {
|
||||
|
||||
Depends { name: "cpp" }
|
||||
Depends { name: "Qt"; submodules: ['gui', 'network', 'script'] }
|
||||
Depends { name: "botan" }
|
||||
Depends { name: "Botan" }
|
||||
Depends { name: "app_version_header" }
|
||||
|
||||
files: [
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import qbs.base 1.0
|
||||
import "../QtcLibrary.qbs" as QtcLibrary
|
||||
|
||||
DynamicLibrary {
|
||||
QtcLibrary {
|
||||
name: "zeroconf"
|
||||
destination: "lib"
|
||||
|
||||
Depends { name: "cpp" }
|
||||
Depends { name: "Qt.network" }
|
||||
|
||||
@@ -5,10 +5,9 @@ QtcPlugin {
|
||||
name: "Core"
|
||||
|
||||
Depends { name: "qt"; submodules: ['core', 'gui', 'xml', 'network', 'script', 'sql', 'help'] }
|
||||
Depends { name: "utils" }
|
||||
Depends { name: "extensionsystem" }
|
||||
Depends { name: "aggregation" }
|
||||
Depends { name: "pluginspec" }
|
||||
Depends { name: "Utils" }
|
||||
Depends { name: "ExtensionSystem" }
|
||||
Depends { name: "Aggregation" }
|
||||
|
||||
cpp.includePaths: [
|
||||
".",
|
||||
@@ -242,9 +241,9 @@ QtcPlugin {
|
||||
}
|
||||
|
||||
ProductModule {
|
||||
Depends { name: "aggregation" }
|
||||
Depends { name: "extensionsystem" }
|
||||
Depends { name: "utils" }
|
||||
Depends { name: "Aggregation" }
|
||||
Depends { name: "ExtensionSystem" }
|
||||
Depends { name: "Utils" }
|
||||
cpp.includePaths: [
|
||||
"../..",
|
||||
"../../libs",
|
||||
|
||||
Reference in New Issue
Block a user