Warning, /education/gcompris/external/qml-box2d/box2d.qbs is written in an unsupported language. File is not indexed.

0001 import qbs
0002 
0003 Project {
0004     name: "box2d";
0005 
0006     StaticLibrary {
0007         name: "box2d"
0008         files: ["Box2D/*.h", "Box2D/*/*.h", "Box2D/*/*/*.h", "Box2D/*.cpp", "Box2D/*/*.cpp", "Box2D/*/*/*.cpp"]
0009         Depends { name: "cpp" }
0010         cpp.includePaths: ["Box2D", "."]
0011 
0012         Group { qbs.install: true; fileTagsFilter: product.type;}
0013     }
0014 
0015     DynamicLibrary {
0016         name: "box2d_lib"
0017         files: ["*.h", "*.cpp"]
0018         Depends { name: "cpp" }
0019         Depends { name: "box2d" }
0020         Depends { name: "Qt"; submodules: ["core", "qml", "quick"]; }
0021         cpp.includePaths: ["Box2D", "."]
0022 
0023         Group { qbs.install: true; fileTagsFilter: product.type;}
0024 
0025         Export {
0026             Depends { name: "cpp" }
0027             cpp.includePaths: "."
0028         }
0029     }
0030 }
0031