Skip to content

Commit

Permalink
STYLE: Remove extra spaces in CMake/Doxygen*
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex authored and hjmjohnson committed Nov 25, 2024
1 parent 3b20b54 commit dfb07da
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions CMake/ITKDoxygen.cmake
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
set( ITKDoxygen_DIR ${CMAKE_BINARY_DIR}/ITKDoxygen )
set( ITKDoxygen_TEMP_DIR ${CMAKE_BINARY_DIR}/ITKDoxygen-TEMP )
set(ITKDoxygen_DIR ${CMAKE_BINARY_DIR}/ITKDoxygen)
set(ITKDoxygen_TEMP_DIR ${CMAKE_BINARY_DIR}/ITKDoxygen-TEMP)


add_custom_command( OUTPUT ${ITKDoxygen_DIR}/index.html
add_custom_command(OUTPUT ${ITKDoxygen_DIR}/index.html
COMMAND ${CMAKE_COMMAND} -DITKDoxygen_TEMP_DIR="${ITKDoxygen_TEMP_DIR}" -P ${ITKSphinxExamples_SOURCE_DIR}/CMake/DownloadDoxygen.cmake
COMMAND ${CMAKE_COMMAND} -E chdir "${ITKDoxygen_TEMP_DIR}" ${CMAKE_COMMAND} -E tar xzf "${ITKDoxygen_TEMP_DIR}/itk-doxygen.tar.gz"
COMMAND ${CMAKE_COMMAND} -E rename "${ITKDoxygen_TEMP_DIR}/html" "${ITKDoxygen_DIR}"
COMMAND ${CMAKE_COMMAND} -E remove_directory "${ITKDoxygen_TEMP_DIR}"
COMMENT "Downloading and unpacking the Doxygen "
)

add_custom_target( ITKDoxygen ${CMAKE_COMMAND} -E echo "Finished obtaining Doxygen"
DEPENDS ${ITKDoxygen_DIR}/index.html )
add_custom_target(ITKDoxygen ${CMAKE_COMMAND} -E echo "Finished obtaining Doxygen"
DEPENDS ${ITKDoxygen_DIR}/index.html)

10 changes: 5 additions & 5 deletions CMake/ITKDoxygenTAG.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
set( ITKDoxygenTAG_DIR ${CMAKE_BINARY_DIR}/ITKDoxygenTAG )
set( ITKDoxygenTAG_TEMP_DIR ${CMAKE_BINARY_DIR}/ITKDoxygenTAG-TEMP )
set(ITKDoxygenTAG_DIR ${CMAKE_BINARY_DIR}/ITKDoxygenTAG)
set(ITKDoxygenTAG_TEMP_DIR ${CMAKE_BINARY_DIR}/ITKDoxygenTAG-TEMP)

find_package(PythonInterp REQUIRED)

add_custom_command( OUTPUT ${ITKDoxygenTAG_DIR}/InsightDoxygen.tag
add_custom_command(OUTPUT ${ITKDoxygenTAG_DIR}/InsightDoxygen.tag
COMMAND ${CMAKE_COMMAND} -DITKDoxygenTAG_TEMP_DIR="${ITKDoxygenTAG_TEMP_DIR}" -P ${CMAKE_CURRENT_SOURCE_DIR}/CMake/DownloadDoxygenTAG.cmake
COMMAND ${PYTHON_EXECUTABLE} "${ITKSphinxExamples_SOURCE_DIR}/Utilities/GUnzip.py" "${ITKDoxygenTAG_TEMP_DIR}/InsightDoxygen.tag.gz"

Expand All @@ -13,6 +13,6 @@ add_custom_command( OUTPUT ${ITKDoxygenTAG_DIR}/InsightDoxygen.tag

COMMENT "Downloading and unpacking the Doxygen TAG"
)
add_custom_target( ITKDoxygenTAG ${CMAKE_COMMAND} -E echo "Finished obtaining Doxygen TAG"
DEPENDS ${ITKDoxygenTAG_DIR}/InsightDoxygen.tag )
add_custom_target(ITKDoxygenTAG ${CMAKE_COMMAND} -E echo "Finished obtaining Doxygen TAG"
DEPENDS ${ITKDoxygenTAG_DIR}/InsightDoxygen.tag)

4 changes: 2 additions & 2 deletions CMake/ITKDoxygenXML.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set( ITKDoxygenXML_DIR ${CMAKE_BINARY_DIR}/ITKDoxygenXML )
set( ITKDoxygenXML_TEMP_DIR ${CMAKE_BINARY_DIR}/ITKDoxygenXML-TEMP )
set(ITKDoxygenXML_DIR ${CMAKE_BINARY_DIR}/ITKDoxygenXML)
set(ITKDoxygenXML_TEMP_DIR ${CMAKE_BINARY_DIR}/ITKDoxygenXML-TEMP)


add_custom_command( OUTPUT ${ITKDoxygenXML_DIR}/index.xml
Expand Down

0 comments on commit dfb07da

Please sign in to comment.