Skip to content

Commit

Permalink
[doc] Keep stand-alone output in doxygen-html
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed Dec 6, 2022
1 parent 49fcb68 commit 412fe45
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions nmpc_cgmres/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ option(OPTIMIZE_FOR_NATIVE "Enable -march=native" OFF)

if(NOT DEFINED NMPC_STANDALONE)
set(NMPC_STANDALONE OFF)
set(DOXYGEN_HTML_OUTPUT html)
else()
set(DOXYGEN_HTML_OUTPUT doxygen-html)
endif()

if(NOT NMPC_STANDALONE)
Expand Down
2 changes: 1 addition & 1 deletion nmpc_cgmres/doc/Doxyfile.extra.in
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ GENERATE_HTML = YES
# The default directory is: html.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_OUTPUT = html
HTML_OUTPUT = @DOXYGEN_HTML_OUTPUT@

# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
# generated HTML page (for example: .htm, .php, .asp).
Expand Down
3 changes: 3 additions & 0 deletions nmpc_ddp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ option(OPTIMIZE_FOR_NATIVE "Enable -march=native" OFF)

if(NOT DEFINED NMPC_STANDALONE)
set(NMPC_STANDALONE OFF)
set(DOXYGEN_HTML_OUTPUT html)
else()
set(DOXYGEN_HTML_OUTPUT doxygen-html)
endif()

if(NOT NMPC_STANDALONE)
Expand Down
2 changes: 1 addition & 1 deletion nmpc_ddp/doc/Doxyfile.extra.in
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ GENERATE_HTML = YES
# The default directory is: html.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_OUTPUT = html
HTML_OUTPUT = @DOXYGEN_HTML_OUTPUT@

# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
# generated HTML page (for example: .htm, .php, .asp).
Expand Down

0 comments on commit 412fe45

Please sign in to comment.