-
Notifications
You must be signed in to change notification settings - Fork 34
A small doxygen improvement - take version from cmake #436
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is a good idea. Thanks!
I would even go further by generating the HTML documentation somewhere under the CMAKE_CURRENT_BINARY_DIR.
This could be done by changing line:
HTML_OUTPUT = ../doc_html
with
HTML_OUTPUT = ${CMAKE_CURRENT_BINARY_DIR}/../doc_html
in Doxyfile.in.
This would generate the HTML doc under <current_build_dir>/cppapi/doc_html directory for instance without polluting the source directory.
Agree |
cppapi/doxygen/Doxyfile.in
Outdated
@@ -51,14 +51,14 @@ PROJECT_BRIEF = | |||
# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo | |||
# to the output directory. | |||
|
|||
PROJECT_LOGO = ../doxygen/logo.jpg | |||
PROJECT_LOGO = ${PROJECT_SOURCE_DIR}/doxygen/logo.jpg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
${PROJECT_SOURCE_DIR}/doxygen/logo.jpg => ${PROJECT_SOURCE_DIR}/cppapi/doxygen/logo.jpg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
subj