source: trunk/test/Makefile.am @ 2388

Last change on this file since 2388 was 2388, checked in by sam, 7 years ago

build: reorganise AM_CPPFLAGS handling so that we can disable the
shitload of warnings Bullet spits at us.

File size: 1.4 KB
Line 
1
2include $(top_srcdir)/build/autotools/common.am
3
4SUBDIRS = math sandbox xolotl
5
6bench: benchsuite$(EXEEXT)
7        ./benchsuite$(EXEEXT)
8
9EXTRA_DIST = data/gradient.png
10
11noinst_PROGRAMS = benchsuite $(testsuite) btphystest meshviewer
12
13TESTS = $(testsuite)
14
15# Conditionally built for now because of STLport issues
16if !USE_ANDROID
17testsuite = testsuite
18endif
19
20testsuite_SOURCES = testsuite.cpp \
21    unit/vector.cpp unit/matrix.cpp unit/half.cpp unit/trig.cpp \
22    unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \
23    unit/array.cpp unit/rotation.cpp unit/string.cpp unit/map.cpp \
24    unit/color.cpp unit/atomic.cpp
25testsuite_CPPFLAGS = $(AM_CPPFLAGS)
26
27benchsuite_SOURCES = benchsuite.cpp \
28    benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
29    benchmark/real.cpp
30benchsuite_CPPFLAGS = $(AM_CPPFLAGS)
31
32btphystest_SOURCES = BtPhysTest.cpp BtPhysTest.h PhysicObject.h \
33    Physics/Src/EasyPhysics.cpp Physics/Include/EasyPhysics.h \
34    Physics/Include/LolBtPhysicsIntegration.h Physics/Include/LolPhysics.h \
35    Physics/Src/EasyCharacterController.cpp \
36    Physics/Include/EasyCharacterController.h \
37    Physics/Src/EasyConstraint.cpp \
38    Physics/Include/EasyConstraint.h \
39    Physics/Src/BulletCharacterController.cpp \
40    Physics/Include/BulletCharacterController.h
41btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
42    -DHAVE_PHYS_USE_BULLET
43
44meshviewer_SOURCES = MeshViewer.cpp
45meshviewer_CPPFLAGS = $(AM_CPPFLAGS)
46
Note: See TracBrowser for help on using the repository browser.