aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/proper quoting/proper quoting.qbp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/proper quoting/proper quoting.qbp')
-rw-r--r--tests/manual/proper quoting/proper quoting.qbp42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/manual/proper quoting/proper quoting.qbp b/tests/manual/proper quoting/proper quoting.qbp
new file mode 100644
index 000000000..f56f78071
--- /dev/null
+++ b/tests/manual/proper quoting/proper quoting.qbp
@@ -0,0 +1,42 @@
+import qbs.base 1.0
+
+Project {
+ Product {
+ type: "application"
+ name: "Hello World"
+ files : [ "main.cpp" ]
+ Depends { name: "cpp" }
+ Depends { name: "my static lib" }
+ cpp.defines: [
+ 'DEFINE="whitespaceless"',
+ 'DEFINEWITHSPACE="contains space"',
+ 'DEFINEWITHTAB="contains\ttab"',
+ 'DEFINEWITHBACKSLASH="backslash\\\\"',
+ 'DEFINEWITHBACKSLASHRAW=backslash\\\\'
+ ]
+// cpp.responseFileThreshold: 0
+ }
+
+ Product {
+ type: "staticlibrary"
+ name : "my static lib"
+ files : [ "my static lib.cpp" ]
+ Depends { name: "cpp" }
+ Depends { name: "helper lib" }
+// cpp.responseFileThreshold: 0
+ }
+
+ Product {
+ type: "staticlibrary"
+ name : "helper lib"
+ files : [
+ "some helper/some helper.h",
+ "some helper/some helper.cpp"
+ ]
+ Depends { name: "cpp" }
+ ProductModule {
+ cpp.includePaths: ['some helper']
+ }
+// cpp.responseFileThreshold: 0
+ }
+}