forked from qml-box2d/qml-box2d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbox2d.qbs
31 lines (24 loc) · 773 Bytes
/
box2d.qbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import qbs
Project {
name: "box2d";
StaticLibrary {
name: "box2d"
files: ["Box2D/*.h", "Box2D/*/*.h", "Box2D/*/*/*.h", "Box2D/*.cpp", "Box2D/*/*.cpp", "Box2D/*/*/*.cpp"]
Depends { name: "cpp" }
cpp.includePaths: ["Box2D", "."]
Group { qbs.install: true; fileTagsFilter: product.type;}
}
DynamicLibrary {
name: "box2d_lib"
files: ["*.h", "*.cpp"]
Depends { name: "cpp" }
Depends { name: "box2d" }
Depends { name: "Qt"; submodules: ["core", "qml", "quick"]; }
cpp.includePaths: ["Box2D", "."]
Group { qbs.install: true; fileTagsFilter: product.type;}
Export {
Depends { name: "cpp" }
cpp.includePaths: "."
}
}
}