From c5fc66ee58f2c60f2d226868bb1cf5b91badaf53 Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 1 Oct 2022 20:59:36 -0500 Subject: add ode --- libs/ode-0.16.1/tests/Makefile.am | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libs/ode-0.16.1/tests/Makefile.am (limited to 'libs/ode-0.16.1/tests/Makefile.am') diff --git a/libs/ode-0.16.1/tests/Makefile.am b/libs/ode-0.16.1/tests/Makefile.am new file mode 100644 index 0000000..7ed8620 --- /dev/null +++ b/libs/ode-0.16.1/tests/Makefile.am @@ -0,0 +1,30 @@ +SUBDIRS = joints UnitTest++ + +AM_CPPFLAGS = -I$(srcdir)/UnitTest++/src \ + -I$(top_srcdir)/include \ + -I$(top_builddir)/include \ + -I$(top_srcdir)/ode/src + +if GIMPACT + AM_CPPFLAGS += -DdTRIMESH_ENABLED -DdTRIMESH_GIMPACT +endif +if OPCODE + AM_CPPFLAGS += -DdTRIMESH_ENABLED -DdTRIMESH_OPCODE +endif + + +check_PROGRAMS = tests + +TESTS = tests + +tests_SOURCES = \ + collision.cpp \ + friction.cpp \ + joint.cpp \ + main.cpp \ + odemath.cpp + +tests_LDADD = \ + $(top_builddir)/ode/src/libode.la \ + joints/*.o \ + UnitTest++/src/libunittestpp.la -- cgit v1.2.1