diff --git a/benchmarking.cmake b/benchmarking.cmake index 2e4bbb9..0f1f3dc 100644 --- a/benchmarking.cmake +++ b/benchmarking.cmake @@ -47,9 +47,8 @@ function( ${subtarget_name} "${name}/${size}/${iteration}.json" "${source}" "-DBENCHMARK_SIZE=${size}") - target_compile_options( - ${subtarget_name} - PRIVATE -ftime-trace-granularity=1) + target_compile_options(${subtarget_name} + PRIVATE -ftime-trace-granularity=1) add_dependencies(${name} ${subtarget_name}) endforeach() diff --git a/cmake/docs.cmake b/cmake/docs.cmake index 33c954d..6be5340 100644 --- a/cmake/docs.cmake +++ b/cmake/docs.cmake @@ -4,7 +4,7 @@ find_package(Doxygen REQUIRED dot OPTIONAL_COMPONENTS mscgen dia) # Documentation options set(DOXYGEN_EXTRACT_ALL YES) set(DOXYGEN_GENERATE_TREEVIEW YES) -set(DOXYGEN_EXCLUDE_PATTERNS */build/* */tests/* */build-docs/* ) +set(DOXYGEN_EXCLUDE_PATTERNS */build/* */tests/* */build-docs/*) set(DOXYGEN_USE_MDFILE_AS_MAINPAGE ${CMAKE_SOURCE_DIR}/readme.md) set(DOXYGEN_EXAMPLE_PATH ${CMAKE_SOURCE_DIR}) set(DOXYGENT_DOT_TRANSPARENT YES) @@ -33,9 +33,8 @@ doxygen_add_docs(docs ALL) add_custom_target( extract-api-doc - cmake-doc-extractor - --input ${CMAKE_SOURCE_DIR}/benchmarking.cmake - --output ${CMAKE_SOURCE_DIR}/generated-docs/benchmarking.md + cmake-doc-extractor --input ${CMAKE_SOURCE_DIR}/benchmarking.cmake --output + ${CMAKE_SOURCE_DIR}/generated-docs/benchmarking.md DEPENDS ${CMAKE_SOURCE_DIR}/benchmarking.cmake) add_dependencies(docs extract-api-doc)