blob: f6a1d758b6790dccd6343287c89714fb00b19f46 (
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
|
set(SRC_DIR ${colobot_SOURCE_DIR}/src)
include_directories(
${SRC_DIR}
${GTEST_INCLUDE_DIR}
math
common
)
set(UT_SOURCES
main.cpp
math/geometry_test.cpp
math/matrix_test.cpp
math/vector_test.cpp
)
add_executable(colobot_ut ${UT_SOURCES})
target_link_libraries(colobot_ut gtest)
add_test(colobot_ut ./colobot_ut)
# TODO: change the unit cases to independent automated tests to be included in colobot_ut
add_subdirectory(common)
add_subdirectory(ui)
|