fixed cmake command

This commit is contained in:
Erik Frojdh
2020-09-11 17:25:27 +02:00
parent aa10c4665f
commit e10ebe33d7
3 changed files with 19 additions and 7 deletions

View File

@@ -63,9 +63,12 @@ configure_file(
"${SPHINX_BUILD}/gen_server_doc.py"
@ONLY)
add_custom_target(server_rst python gen_server_doc.py)
add_custom_target(docs
gendoc
python gen_server_doc.py
COMMAND python gen_server_doc.py
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
COMMAND ${SPHINX_EXECUTABLE} -a -b html
-Dbreathe_projects.slsDetectorPackage=${CMAKE_CURRENT_BINARY_DIR}/xml
@@ -82,4 +85,3 @@ add_custom_target(rst
${SPHINX_BUILD}/html
COMMENT "Generating documentation with Sphinx")
add_custom_target(server_rst python gen_server_doc.py)