2017-01-03 22:47:17 +01:00
|
|
|
set (GOOGLETEST_DIR
|
|
|
|
${CMAKE_SOURCE_DIR}/3rdparty/googletest/googletest
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories (
|
|
|
|
${GOOGLETEST_DIR}/include
|
|
|
|
)
|
|
|
|
|
|
|
|
set (TEST_SRCS
|
2018-02-12 21:35:44 +01:00
|
|
|
# RenderModuleTests.cc
|
2017-01-03 22:47:17 +01:00
|
|
|
${GOOGLETEST_DIR}/src/gtest_main.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
add_executable ( runtests ${TEST_SRCS} )
|
|
|
|
|
|
|
|
target_link_libraries (runtests
|
2018-02-12 13:05:19 +01:00
|
|
|
${CMAKE_DL_LIBS}
|
2017-01-03 22:47:17 +01:00
|
|
|
gtest
|
|
|
|
)
|