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)
6161 ${CMAKE_DL_LIBS}
6262 )
6363 add_custom_target (llvm-cov
64- COMMAND ${CMAKE_MAKE_PROGRAM} dpctl_c_api_tests
6564 COMMAND ${CMAKE_COMMAND} -E env DPCTL_VERBOSITY=warning ${CMAKE_CURRENT_BINARY_DIR} /dpctl_c_api_tests
6665 COMMAND ${LLVMProfdata_EXE}
6766 merge
@@ -75,10 +74,10 @@ if(DPCTL_GENERATE_COVERAGE)
7574 ${dpctl_sources}
7675 ${helper_sources}
7776 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
77+ DEPENDS dpctl_c_api_tests
7878 )
7979
8080 add_custom_target (lcov-genhtml
81- COMMAND ${CMAKE_MAKE_PROGRAM} llvm-cov
8281 COMMAND ${LLVMCov_EXE}
8382 export
8483 -format=lcov
@@ -91,6 +90,7 @@ if(DPCTL_GENERATE_COVERAGE)
9190 --output -directory
9291 ${COVERAGE_OUTPUT_DIR} /dpctl-c-api-coverage
9392 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
93+ DEPENDS llvm-cov
9494 )
9595else ()
9696 file (GLOB_RECURSE sources ${CMAKE_CURRENT_SOURCE_DIR} /*.cpp)
You can’t perform that action at this time.
0 commit comments