summaryrefslogtreecommitdiffstats
path: root/src/math/test/CMakeLists.txt
blob: 8588bd19a5e4b2bb127ddf845e79173181e81337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cmake_minimum_required(VERSION 2.8)

set(CMAKE_BUILD_TYPE debug)
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Wold-style-cast -std=gnu++0x")

include_directories(
.
../..
../../..
${GTEST_DIR}/include
)

add_executable(matrix_test matrix_test.cpp)
target_link_libraries(matrix_test gtest)

add_executable(vector_test vector_test.cpp)
target_link_libraries(vector_test gtest)

add_executable(geometry_test geometry_test.cpp)
target_link_libraries(geometry_test gtest)

add_test(matrix_test matrix_test)
add_test(vector_test vector_test)
add_test(geometry_test geometry_test)