aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/hello/hello.qbp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/hello/hello.qbp')
-rw-r--r--tests/manual/hello/hello.qbp24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/manual/hello/hello.qbp b/tests/manual/hello/hello.qbp
new file mode 100644
index 000000000..d73a6fdb8
--- /dev/null
+++ b/tests/manual/hello/hello.qbp
@@ -0,0 +1,24 @@
+import qbs.base 1.0
+
+Project {
+ Product {
+ Depends { name: 'cpp' }
+
+ type: 'application'
+ name: 'HelloWorld'
+
+ cpp.defines: ['SOMETHING']
+ //cpp.applicationLinker.debugInformation: false
+
+ Group {
+ cpp.defines: outer.concat(['HAVE_MAIN_CPP', cpp.debugInformation ? '_DEBUG' : '_RELEASE'])
+ prefix: "src/"
+ files: [
+ 'main.cpp',
+ 'foo.h',
+ 'foo.cpp'
+ ]
+ }
+ }
+}
+