File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,17 @@ if(NOT RES EQUAL 0 )
11
11
message (FATAL_ERROR "Failed to install Python dependencies:\n ${ERR} " )
12
12
endif ()
13
13
14
+ get_target_property (errors_docs_BINARY_DIR errors_docs BINARY_DIR )
15
+ get_target_property (errors_format_docs_BINARY_DIR errors_format_docs BINARY_DIR )
16
+
14
17
add_custom_command (
15
18
OUTPUT ${CMAKE_CURRENT_BINARY_DIR} /html/index.html
16
19
COMMAND ${Python_EXECUTABLE} -m sphinx -b html ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} /html -W --keep-going
17
20
DEPENDS
18
21
${CMAKE_CURRENT_SOURCE_DIR} /conf.py
19
22
${CMAKE_CURRENT_SOURCE_DIR} /index.rst
23
+ ${errors_docs_BINARY_DIR} /errors_docs.stamp
24
+ ${errors_format_docs_BINARY_DIR} /errors_format_docs.stamp
20
25
)
21
26
22
27
add_custom_target (docs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR} /html/index.html )
23
- add_dependencies (docs errors_docs errors_format_docs )
You can’t perform that action at this time.
0 commit comments