... | ... |
@@ -8,8 +8,9 @@ |
8 | 8 |
${CMAKE_BINARY_DIR}/doc/Doxyfile |
9 | 9 |
@ONLY) |
10 | 10 |
|
11 | 11 |
IF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE) |
12 |
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/) |
|
12 | 13 |
IF(UNIX) |
13 | 14 |
ADD_CUSTOM_TARGET(html |
14 | 15 |
COMMAND rm -rf gen-images |
15 | 16 |
COMMAND mkdir gen-images |
... | ... |
@@ -33,10 +34,9 @@ |
33 | 34 |
COMMAND if exist html rmdir /s /q html |
34 | 35 |
COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile |
35 | 36 |
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) |
36 | 37 |
ENDIF(UNIX) |
37 |
ENDIF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE) |
|
38 |
|
|
39 | 38 |
INSTALL( |
40 | 39 |
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ |
41 | 40 |
DESTINATION doc |
42 | 41 |
COMPONENT html_documentation) |
42 |
ENDIF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE) |
0 comments (0 inline)