-
Notifications
You must be signed in to change notification settings - Fork 0
/
BulletBox.pro
52 lines (41 loc) · 1.01 KB
/
BulletBox.pro
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
TARGET = BulletBox
TEMPLATE = app
DEFINES -= COUNT_FPS \
COUNT_TIME
CONFIG -= debug
CONFIG += release
mac{
CONFIG -= app_bundle
#Use clang for c++11
QMAKESPEC = macx-clang-libc++
MY_QT5_ROOT = /Users/sneakyc4/projects/qt5/qtbase
MY_BULLET_ROOT = /usr/local
}else{
MY_QT5_ROOT = /opt/qt5/
MY_BULLET_ROOT = /usr
}
INCLUDEPATH += $$MY_QT5_ROOT/include
INCLUDEPATH += $$MY_BULLET_ROOT/include/bullet
INCLUDEPATH += $$MY_BULLET_ROOT/include/bullet/LinearMath
message($$QMAKESPEC)
QT += core gui quick 3d
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
LIBS += -lBulletDynamics -lBulletCollision -lLinearMath
SOURCES += main.cpp \
bulletboxview.cpp \
bullet3dbox.cpp \
motionstates.cpp \
#bulletboxviewport.cpp
HEADERS += \
bulletboxview.h \
bullet3dbox.h \
motionstates.h \
#bulletboxviewport.h
QMAKE_CXXFLAGS += --std=c++0x
RESOURCES += \
mainresource.qrc
OTHER_FILES += \
tron.fsh \
standard.vsh \
standard.fsh \
fractals_julia.fsh