mirror of
https://github.com/JHUAPL/kaiju.git
synced 2026-01-09 23:27:57 -05:00
Finalizing ability to generate code coverage (slowly and painfully)
This commit is contained in:
@@ -140,4 +140,9 @@ if(ENABLE_MPI)
|
||||
# we changed compiler, link HDF5 libraries
|
||||
link_libraries(${HDF5_Fortran_LIBRARIES} ${HDF5_Fortran_HL_LIBRARIES})
|
||||
endif()
|
||||
if(ENABLE_CODECOV)
|
||||
# track code coverage
|
||||
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bin/codecov_prof)
|
||||
string(APPEND CMAKE_Fortran_FLAGS " -prof-gen=srcpos -prof-dir=${CMAKE_BINARY_DIR}/bin/codecov_prof")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user