16 lines
300 B
CMake
16 lines
300 B
CMake
|
|
# /usr/include/gtest
|
|
|
|
enable_testing()
|
|
INCLUDE_DIRECTORIES(/usr/include/gtest)
|
|
|
|
set(SOURCES
|
|
core/test_tree.cpp
|
|
core/test_rab.cpp
|
|
core/test_model.cpp
|
|
)
|
|
|
|
add_executable(runUnitTests ${SOURCES})
|
|
target_link_libraries(runUnitTests gtest gtest_main core)
|
|
add_test(runUnitTests runUnitTests)
|