2017-01-03 22:47:17 +01:00
|
|
|
set (GOOGLETEST_DIR
|
|
|
|
${CMAKE_SOURCE_DIR}/3rdparty/googletest/googletest
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories (
|
|
|
|
${GOOGLETEST_DIR}/include
|
|
|
|
${CMAKE_SOURCE_DIR}/3rdparty/bx/include
|
|
|
|
)
|
|
|
|
|
|
|
|
set (TEST_SRCS
|
|
|
|
RenderModuleTests.cc
|
|
|
|
${GOOGLETEST_DIR}/src/gtest_main.cc
|
2017-04-11 08:16:10 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/3rdparty/bx/src/fpumath.cpp
|
2017-01-03 22:47:17 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable ( runtests ${TEST_SRCS} )
|
|
|
|
|
|
|
|
target_link_libraries (runtests
|
|
|
|
gtest
|
|
|
|
)
|