aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2014-12-02 16:35:51 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2014-12-03 10:44:27 +0100
commitc91dcd35d0a3aefa6cfdde2c4458c48015849a36 (patch)
treecc662ef9dc927122b34222e83a8c616390105611 /examples
parentd83b1fabd06b23fae1ca66717d3603439317f1fd (diff)
fix code-generator example for OS X
Change-Id: Idabbb14777cae50854d8cf3db9894fdff6bc095a Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/code-generator/code-generator.qbs8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/code-generator/code-generator.qbs b/examples/code-generator/code-generator.qbs
index feebfee33..c2783421f 100644
--- a/examples/code-generator/code-generator.qbs
+++ b/examples/code-generator/code-generator.qbs
@@ -38,14 +38,18 @@ import qbs
Project {
// A code generator that outputs a "Hello World" C++ program.
- CppApplication {
+ Product {
name: "hwgen"
+ type: ["application"]
+ Depends { name: "cpp" }
files: ["hwgen.cpp"]
}
// Generate and build a hello-world application.
- CppApplication {
+ Product {
name: "hello-world"
+ type: ["application"]
+ Depends { name: "cpp" }
Depends { name: "hwgen" }
Rule {
inputs: ["qbs"] // needed to trigger this rule