| 35 | | add_executable(tests ${tests_SRCS}) |
| 36 | | target_link_libraries(tests ${CPPUNIT_LIBRARY} ${CMAKE_DL_LIBS}) |
| 37 | | target_link_libraries(tests modelloader dcollide-static) |
| | 12 | set(tests_SRCS |
| | 13 | main.cpp |
| | 14 | aabbtest.cpp |
| | 15 | kdoptest.cpp |
| | 16 | obbtest.cpp |
| | 17 | boundingvolumetest.cpp |
| | 18 | boundingvolumehierarchytest.cpp |
| | 19 | narrowphasetest.cpp |
| | 20 | normalstest.cpp |
| | 21 | middlephaserigidtest.cpp |
| | 22 | multimapelementtest.cpp |
| | 23 | proxytest.cpp |
| | 24 | deformable/deformablebvhnodetest.cpp |
| | 25 | deformable/surfacehierarchytest.cpp |
| | 26 | worldtest.cpp |
| | 27 | broadphasecollisionstest.cpp |
| | 28 | broadphasehierarchicalgridtest.cpp |
| | 29 | broadphasebruteforcetest.cpp |
| | 30 | listtest.cpp |
| | 31 | arraytest.cpp |
| | 32 | settest.cpp |
| | 33 | boundingspheretest.cpp |
| | 34 | undotest.cpp |
| | 35 | ) |
| | 36 | |
| | 37 | add_executable(tests ${tests_SRCS}) |
| | 38 | target_link_libraries(tests ${CPPUNIT_LIBRARY} ${CMAKE_DL_LIBS}) |
| | 39 | target_link_libraries(tests modelloader dcollide-static) |
| 40 | | # AB: note that d-collide uses buildbot internally, thus we do NOT use the CTest |
| 41 | | # framework (and consequently don't use "add_test()" here) |
| 42 | | add_custom_target(test |
| 43 | | COMMAND ${CMAKE_CURRENT_BINARY_DIR}/tests |
| 44 | | DEPENDS tests |
| 45 | | ) |
| | 42 | # AB: note that d-collide uses buildbot internally, thus we do NOT use the CTest |
| | 43 | # framework (and consequently don't use "add_test()" here) |
| | 44 | add_custom_target(test |
| | 45 | COMMAND ${CMAKE_CURRENT_BINARY_DIR}/tests |
| | 46 | DEPENDS tests |
| | 47 | ) |
| | 48 | endif (CPPUNIT_LIBRARY AND CPPUNIT_INCLUDE_DIR) |