summaryrefslogtreecommitdiff
path: root/src/libs/QtcLibrary.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/QtcLibrary.qbs')
-rw-r--r--src/libs/QtcLibrary.qbs37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/libs/QtcLibrary.qbs b/src/libs/QtcLibrary.qbs
deleted file mode 100644
index 03ab3374d3..0000000000
--- a/src/libs/QtcLibrary.qbs
+++ /dev/null
@@ -1,37 +0,0 @@
-import qbs.base 1.0
-import "../../qbs/functions.js" as QtcFunctions
-
-DynamicLibrary {
- Depends { name: "cpp" }
- Depends {
- condition: project.testsEnabled
- name: "Qt.test"
- }
-
- targetName: QtcFunctions.qtLibraryName(qbs, name)
- destinationDirectory: project.ide_library_path
-
- cpp.defines: project.generalDefines
- cpp.linkerFlags: {
- if (qbs.buildVariant == "release" && (qbs.toolchain.contains("gcc") || qbs.toolchain.contains("mingw")))
- return ["-Wl,-s"]
- else if (qbs.buildVariant == "debug" && qbs.toolchain.contains("msvc"))
- return ["/INCREMENTAL:NO"] // Speed up startup time when debugging with cdb
- }
- cpp.installNamePrefix: "@rpath/PlugIns/"
- cpp.rpaths: qbs.targetOS.contains("osx")
- ? ["@loader_path/..", "@executable_path/.."]
- : ["$ORIGIN", "$ORIGIN/.."]
- cpp.includePaths: [path]
-
- Export {
- Depends { name: "cpp" }
- cpp.includePaths: [path]
- }
-
- Group {
- fileTagsFilter: product.type
- qbs.install: true
- qbs.installDir: project.ide_library_path
- }
-}