Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update to qbs upstream

  • Loading branch information...
commit aca0ab86227f1534bbb1c45fd27344beaea9809f 1 parent 4bc262f
@gorthauer gorthauer authored
Showing with 15 additions and 5 deletions.
  1. +3 −0  jreen.qbp → jreen.qbs
  2. +12 −5 src/src.qbs
View
3  jreen.qbp → jreen.qbs
@@ -1,6 +1,9 @@
import qbs.base 1.0
Project {
+
+ moduleSearchPaths: "qbs/modules"
+
references: "src/src.qbs"
}
View
17 src/src.qbs
@@ -1,12 +1,12 @@
Product {
name: "jreen"
-
+
property bool useSimpleSasl: true
property string versionMajor: '1'
property string versionMinor: '1'
property string versionRelease: '0'
property string version: versionMajor+'.'+versionMinor+'.'+versionRelease
-
+
destination: {
if (qbs.targetOS === 'windows')
return "bin";
@@ -16,6 +16,7 @@ Product {
type: ["dynamiclibrary", "installed_content"]
Depends { name: "cpp" }
+ //Depends { name: "headers" }
Depends { name: "Qt.core" }
Depends { name: "Qt.network" }
Depends { name: "qca" }
@@ -48,7 +49,6 @@ Product {
}
files: [
- "*.h",
"*.cpp"
]
@@ -87,17 +87,24 @@ Product {
"*.cpp",
]
}
+
Group {
- //install headers
+ //public headers
qbs.installDir: "include/jreen"
+ overrideTags: false
fileTags: ["install"]
files: [
"*[^_][a-z].h",
]
}
+ Group {
+ //private headers
+ files: "*_p.h"
+ }
+
ProductModule {
Depends { name: "cpp" }
cpp.includePaths: product.buildDirectory + "/include/vreen"
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.