File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ if(DPCTL_GENERATE_COVERAGE)
61
61
${CMAKE_DL_LIBS}
62
62
)
63
63
add_custom_target (llvm-cov
64
- COMMAND ${CMAKE_MAKE_PROGRAM} dpctl_c_api_tests
65
64
COMMAND ${CMAKE_COMMAND} -E env DPCTL_VERBOSITY=warning ${CMAKE_CURRENT_BINARY_DIR} /dpctl_c_api_tests
66
65
COMMAND ${LLVMProfdata_EXE}
67
66
merge
@@ -75,10 +74,10 @@ if(DPCTL_GENERATE_COVERAGE)
75
74
${dpctl_sources}
76
75
${helper_sources}
77
76
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
77
+ DEPENDS dpctl_c_api_tests
78
78
)
79
79
80
80
add_custom_target (lcov-genhtml
81
- COMMAND ${CMAKE_MAKE_PROGRAM} llvm-cov
82
81
COMMAND ${LLVMCov_EXE}
83
82
export
84
83
-format=lcov
@@ -91,6 +90,7 @@ if(DPCTL_GENERATE_COVERAGE)
91
90
--output-directory
92
91
${COVERAGE_OUTPUT_DIR} /dpctl-c-api-coverage
93
92
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
93
+ DEPENDS llvm-cov
94
94
)
95
95
else ()
96
96
file (GLOB_RECURSE sources ${CMAKE_CURRENT_SOURCE_DIR} /*.cpp )
You can’t perform that action at this time.
0 commit comments