2013-03-06 06:30:33 +00:00
|
|
|
# Minimum cmake version required
|
|
|
|
cmake_minimum_required(VERSION 2.6)
|
|
|
|
|
|
|
|
# Project configuration
|
|
|
|
PROJECT(TESTS)
|
|
|
|
|
|
|
|
# Headers
|
|
|
|
INCLUDE_DIRECTORIES(${REACTPHYSICS3D_SOURCE_DIR}/test)
|
|
|
|
|
|
|
|
# Sources files of tests
|
|
|
|
file (
|
|
|
|
GLOB_RECURSE
|
|
|
|
TESTS_SOURCE_FILES
|
|
|
|
${REACTPHYSICS3D_SOURCE_DIR}/test/*
|
|
|
|
)
|
|
|
|
|
|
|
|
# Create the tests executable
|
2013-03-09 07:34:57 +00:00
|
|
|
ADD_EXECUTABLE(tests ${TESTS_SOURCE_FILES})
|
2013-03-06 06:30:33 +00:00
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(tests reactphysics3d)
|