diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index b79820c..8e04af5 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -36,7 +36,6 @@ #]] find_package(Doxygen REQUIRED) -find_program(GENHTML_BIN genhtml REQUIRED) find_program(SPHINX_BIN sphinx-build REQUIRED) file(GLOB_RECURSE bf_srcs @@ -114,10 +113,6 @@ add_custom_command( # Update the modification time of the documentation's index, so the # benchmark report will be generated (as external/benchmarks/index.html is # now out-of-date). - COMMAND - ${CMAKE_COMMAND} - -E touch - ${CMAKE_CURRENT_BINARY_DIR}/html/external/benchmarks/index.html DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/conf.py ${CMAKE_CURRENT_BINARY_DIR}/xml/index.xml @@ -126,39 +121,3 @@ add_custom_command( ${CMAKE_CURRENT_BINARY_DIR}/html/index.html COMMENT "Generating the documentation" ) - -add_custom_command( - COMMAND - ${CMAKE_CURRENT_SOURCE_DIR}/benchreport - --sources ${CMAKE_SOURCE_DIR} - --results ${CMAKE_BINARY_DIR}/output/benchmarks - --template ${CMAKE_CURRENT_SOURCE_DIR}/benchmarks.html.template - --output ${CMAKE_CURRENT_BINARY_DIR}/html/external/benchmarks/index.html - DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/benchreport - ${CMAKE_CURRENT_BINARY_DIR}/html/index.html - ${CMAKE_CURRENT_SOURCE_DIR}/benchmarks.html.template - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/external/benchmarks/index.html - COMMENT "Generate the benchmarks summary" -) - -# covreport should not depend on lcov.out: it should generate a coverage report -# if it exists, or skip the report generation if it doesn't. -add_custom_command( - COMMAND - ${CMAKE_CURRENT_SOURCE_DIR}/covreport - --genhtml ${GENHTML_BIN} - --tracefile ${CMAKE_BINARY_DIR}/output/tests/lcov.out - --output ${CMAKE_CURRENT_BINARY_DIR}/html/external/coverage - DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/covreport - ${CMAKE_CURRENT_BINARY_DIR}/html/index.html - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/external/coverage/index.html - COMMENT "Generate the coverage report" -) - -add_custom_target(doc - DEPENDS - ${CMAKE_CURRENT_BINARY_DIR}/html/external/benchmarks/index.html - ${CMAKE_CURRENT_BINARY_DIR}/html/external/coverage/index.html -) diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index 074a3c3..d09def9 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -203,7 +203,7 @@ add_custom_target(unit COMMENT "Running unit tests" ) -if (NOT ${NO_DOCS}) +if (FALSE) include(ProcessorCount) find_program(LCOV_BIN lcov REQUIRED)