Compare commits
No commits in common. "58573cebfc86275154ee0b94e3d02580ccc5a74b" and "be911b4fd99a9aa1e08be79be30cbaef6a30ba9c" have entirely different histories.
58573cebfc
...
be911b4fd9
@ -1,5 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
project(myx-cmake VERSION 0.4.1 LANGUAGES)
|
project(myx-cmake VERSION 0.4.0 LANGUAGES)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
file(WRITE ${CMAKE_SOURCE_DIR}/MyxCMake/MyxCMakeConfigVersion.cmake
|
file(WRITE ${CMAKE_SOURCE_DIR}/MyxCMake/MyxCMakeConfigVersion.cmake
|
||||||
|
@ -17,10 +17,8 @@ function(myx_cmake_code_coverage target)
|
|||||||
add_custom_target(
|
add_custom_target(
|
||||||
${target}-coverage
|
${target}-coverage
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
COMMAND ${LCOV_EXE} --test-name ${target} --output "${target}.lcov" --capture
|
COMMAND ${LCOV_EXE} --test-name ${target} --output "${target}.lcov"
|
||||||
--exclude "/usr/\\\*"
|
--capture --directory ${CMAKE_BINARY_DIR})
|
||||||
--exclude "${CMAKE_BINARY_DIR}/\\\*"
|
|
||||||
--directory ${CMAKE_BINARY_DIR})
|
|
||||||
add_dependencies(${target}-coverage ${target})
|
add_dependencies(${target}-coverage ${target})
|
||||||
|
|
||||||
if(GENHTML_EXE)
|
if(GENHTML_EXE)
|
||||||
|
Loading…
Reference in New Issue
Block a user