Skip to content
Snippets Groups Projects
Commit 537a7f1e authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

Revert "adjust for macos"

This reverts commit 216793fe.
parent 7e82d026
No related branches found
No related tags found
No related merge requests found
find_program(ASTYLE_EXECUTABLE astyle)
add_custom_target(ASTYLE)
if(ASTYLE_EXECUTABLE)
message(STATUS "Found astyle, using astyle to format code of target ${target}.")
add_custom_target(astyle ALL
......
......@@ -16,10 +16,9 @@ function(gtest target test_source_files test_libraries)
message(STATUS "Added test 'test-${target}'")
if ((CMAKE_COMPILER_IS_GNUCXX) OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "(Apple)?[Cc]lang"))
if (CMAKE_COMPILER_IS_GNUCXX)
include(CodeCoverage)
APPEND_COVERAGE_COMPILER_FLAGS()
set (COVERAGE_EXCLUDES '*/unittests/*')
SETUP_TARGET_FOR_COVERAGE(NAME coverage-${target} EXECUTABLE test-${target} ${target})
add_test(NAME coveragetest-${target}
COMMAND ${CMAKE_MODULE_PATH}/check_test.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment