You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

47 lines
1.5 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. if BUILD_TEST
  3. noinst_PROGRAMS = $(testsuite)
  4. TESTS = $(testsuite)
  5. endif
  6. # Conditionally built for now because of STLport issues
  7. if !LOL_USE_ANDROID
  8. testsuite = test-base test-math test-sys test-image test-entity
  9. endif
  10. test_base_SOURCES = test-common.cpp \
  11. base/avl_tree.cpp base/array.cpp base/enum.cpp base/map.cpp \
  12. base/string.cpp base/types.cpp
  13. test_base_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tools/lolunit
  14. test_base_DEPENDENCIES = @LOL_DEPS@
  15. test_math_SOURCES = test-common.cpp \
  16. math/array2d.cpp math/array3d.cpp math/arraynd.cpp math/box.cpp \
  17. math/cmplx.cpp math/half.cpp math/interp.cpp math/matrix.cpp \
  18. math/quat.cpp math/rand.cpp math/real.cpp math/rotation.cpp \
  19. math/trig.cpp math/vector.cpp math/polynomial.cpp math/noise/simplex.cpp \
  20. math/bigint.cpp math/sqt.cpp
  21. test_math_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tools/lolunit
  22. test_math_DEPENDENCIES = @LOL_DEPS@
  23. test_sys_SOURCES = test-common.cpp \
  24. sys/thread.cpp
  25. test_sys_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tools/lolunit
  26. test_sys_DEPENDENCIES = @LOL_DEPS@
  27. test_image_SOURCES = test-common.cpp \
  28. image/color.cpp image/image.cpp
  29. test_image_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tools/lolunit
  30. test_image_DEPENDENCIES = @LOL_DEPS@
  31. test_entity_SOURCES = test-common.cpp \
  32. entity/camera.cpp
  33. test_entity_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tools/lolunit
  34. test_entity_DEPENDENCIES = @LOL_DEPS@
  35. noinst_DATA = data/gradient.png