Switched from Google Test to Catch.
This commit is contained in:
@@ -2,18 +2,13 @@ set(target tests)
|
||||
|
||||
file(GLOB core_sources "*.cpp")
|
||||
|
||||
add_subdirectory(googletest)
|
||||
|
||||
include_directories(
|
||||
${gtest_SOURCE_DIR}/include
|
||||
${gtest_SOURCE_DIR}
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${PROJECT_SOURCE_DIR}/include
|
||||
catch/single_include
|
||||
)
|
||||
|
||||
set(libraries
|
||||
gtest_main
|
||||
gtest
|
||||
${Boost_LIBRARIES}
|
||||
plasp
|
||||
)
|
||||
@@ -22,7 +17,6 @@ file(COPY data DESTINATION ${CMAKE_BINARY_DIR})
|
||||
|
||||
add_executable(${target} ${core_sources})
|
||||
target_link_libraries(${target} ${libraries})
|
||||
add_test(tests ${core_sources})
|
||||
|
||||
add_custom_target(run-tests
|
||||
COMMAND ${CMAKE_BINARY_DIR}/bin/tests
|
||||
|
Reference in New Issue
Block a user