##// END OF EJS Templates
Removed last dead code function found and set FSW ver to 3.2.0.23
Removed last dead code function found and set FSW ver to 3.2.0.23

File last commit:

r402:eb452cd0caf8 R3++
r403:56ae035bb062 3.2.0.23 R3++
Show More
CMakeLists.txt
20 lines | 615 B | text/plain | CMakeLexer
Disabled most dead code + set CMake min Ver to 3.5
r402 cmake_minimum_required(VERSION 3.5)
Added gcov support...
r387 project(libgcov C)
include(sparc-rtems)
include(cppcheck)
set(LIB_GCOV_SOURCES
gcov-io.c
gcov-io.h
gcov-iov.h
libgcov.c
)
Few cosmetic changes and lowered optim to -O2...
r400 if(Coverage)
Disabled most dead code + set CMake min Ver to 3.5
r402 add_definitions(-DGCOV_USE_EXIT)
Few cosmetic changes and lowered optim to -O2...
r400 add_definitions(-DGCOV_ENABLED)
endif()
Added gcov support...
r387 add_library(gcov STATIC ${LIB_GCOV_SOURCES})
add_custom_target(gcovr
COMMAND gcovr --exclude='.*gcov.*' --gcov-executable=${rtems_dir}/bin/sparc-rtems-gcov --object-directory ${CMAKE_BINARY_DIR} -r ${CMAKE_SOURCE_DIR} --html --html-details -o ${CMAKE_CURRENT_BINARY_DIR}/gcov.html && xdg-open ${CMAKE_CURRENT_BINARY_DIR}/gcov.html
)