forked from qml-box2d/qml-box2d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbox2d_lib.pri
62 lines (56 loc) · 1.55 KB
/
box2d_lib.pri
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
INCLUDEPATH += $$PWD
contains(DEFINES, BOX2D_SYSTEM) {
packagesExist(box2d) {
CONFIG += link_pkgconfig
PKGCONFIG += box2d
} else {
!contains(INCLUDEPATH,"Box2D") {
unix:BOX2D_INCLUDEPATH = "/usr/include/Box2D"
INCLUDEPATH += $$BOX2D_INCLUDEPATH
}
!contains(LIBS,"Box2D")
LIBS += "-lBox2D"
}
} else {
include(Box2D/box2d.pri)
}
SOURCES += \
$$PWD/box2dplugin.cpp \
$$PWD/box2dworld.cpp \
$$PWD/box2dcontact.cpp \
$$PWD/box2dbody.cpp \
$$PWD/box2dfixture.cpp \
$$PWD/box2ddebugdraw.cpp \
$$PWD/box2djoint.cpp \
$$PWD/box2ddistancejoint.cpp \
$$PWD/box2dprismaticjoint.cpp \
$$PWD/box2drevolutejoint.cpp \
$$PWD/box2dmotorjoint.cpp \
$$PWD/box2dweldjoint.cpp \
$$PWD/box2dpulleyjoint.cpp \
$$PWD/box2dfrictionjoint.cpp \
$$PWD/box2dwheeljoint.cpp \
$$PWD/box2dmousejoint.cpp \
$$PWD/box2dgearjoint.cpp \
$$PWD/box2dropejoint.cpp \
$$PWD/box2draycast.cpp
HEADERS += \
$$PWD/box2dplugin.h \
$$PWD/box2dworld.h \
$$PWD/box2dcontact.h \
$$PWD/box2dbody.h \
$$PWD/box2dfixture.h \
$$PWD/box2ddebugdraw.h \
$$PWD/box2djoint.h \
$$PWD/box2ddistancejoint.h \
$$PWD/box2dprismaticjoint.h \
$$PWD/box2drevolutejoint.h \
$$PWD/box2dmotorjoint.h \
$$PWD/box2dweldjoint.h \
$$PWD/box2dpulleyjoint.h \
$$PWD/box2dfrictionjoint.h \
$$PWD/box2dwheeljoint.h \
$$PWD/box2dmousejoint.h \
$$PWD/box2dgearjoint.h \
$$PWD/box2dropejoint.h \
$$PWD/box2draycast.h