20 lines
331 B
CMake
20 lines
331 B
CMake
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
|
|
)
|
|
|
|
add_executable ( runtests ${TEST_SRCS} )
|
|
|
|
target_link_libraries (runtests
|
|
gtest
|
|
)
|