@@ -24,30 +24,18 @@ set( DOX_MODULE_LIST ${ITK_MODULES_ENABLED} )
24
24
25
25
foreach (itk-module ${DOX_MODULE_LIST} )
26
26
if (${itk-module}_IS_TEST )
27
- list ( APPEND DOXYGEN_TEST_DIRS "\" ${${itk-module}_SOURCE_DIR}\" \\\n " )
27
+ list ( APPEND DOXYGEN_TEST_DIRS "${${itk-module}_SOURCE_DIR}" )
28
28
else ()
29
29
if ( EXISTS ${${itk-module}_SOURCE_DIR}/include )
30
- list ( APPEND DOXYGEN_INCLUDE_DIRS "\" ${${itk-module}_SOURCE_DIR}/include\" \\\n " )
30
+ list ( APPEND DOXYGEN_INCLUDE_DIRS "${${itk-module}_SOURCE_DIR}/include" )
31
31
endif ()
32
32
endif ()
33
33
endforeach ()
34
34
35
- list ( APPEND DOXYGEN_TEST_DIRS "\" ${ITK_SOURCE_DIR} /Examples\" \\\n " )
36
- list ( APPEND DOXYGEN_TEST_DIRS "\" ${ITK_SOURCE_DIR} \" \\\n " )
37
- list ( APPEND DOXYGEN_TEST_DIRS " \" ${ITK_SOURCE_DIR} /Modules/Remote\"\n " )
35
+ list ( APPEND DOXYGEN_TEST_DIRS "${ITK_SOURCE_DIR} /Examples" )
36
+ list ( APPEND DOXYGEN_TEST_DIRS "${ITK_SOURCE_DIR} " )
37
+ list ( APPEND DOXYGEN_TEST_DIRS "${ITK_SOURCE_DIR} /Modules/Remote" )
38
38
39
- # By definition DOXYGEN_TEST_DIRS can not be empty. In the worst case if
40
- # BUILD_TESTING is turned OFF, there are at least 3 strings in
41
- # DOXYGEN_TEST_DIRS: ${ITK_SOURCE_DIR}/Examples, ${ITK_SOURCE_DIR},
42
- # and ${ITK_SOURCE_DIR}/Modules/Remote
43
- string ( REPLACE ";" " \\\\ n" DOXYGEN_TEST_DIRS ${DOXYGEN_TEST_DIRS} )
44
-
45
- list ( LENGTH DOXYGEN_INCLUDE_DIRS _doxygen_include_dirs_size )
46
-
47
- if ( ${_doxygen_include_dirs_size} GREATER 0 )
48
- # replace ";" in the string by space+backslash+newline
49
- string ( REPLACE ";" " \\\\ n" DOXYGEN_INCLUDE_DIRS ${DOXYGEN_INCLUDE_DIRS} )
50
- endif ()
51
39
52
40
#
53
41
# Configure the script and the doxyfile, then add target
@@ -145,7 +133,7 @@ if (ITK_BUILD_DOCUMENTATION)
145
133
# -- Only build if 'Documentation' target is requested ALL
146
134
WORKING_DIRECTORY ${ITK_BINARY_DIR} /Utilities/Doxygen
147
135
# -- Some of the ITK_DOXYGEN_INPUT are directories, USE_STAMP_FILE requires only files be listed
148
- COMMENT "-- Wrapping ITK: Constructing documentation xml structure ."
136
+ COMMENT "-- Building ITK Doxygen ."
149
137
)
150
138
unset (ITK_DOXYGEN_INPUT )
151
139
0 commit comments