cmake: Add docs build target#165
Conversation
| # left blank the current directory will be used. | ||
|
|
||
| OUTPUT_DIRECTORY = doc/doxygen | ||
| OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doxygen |
There was a problem hiding this comment.
(feel free to ignore)
I find it more intuitive to put the generated documentation in the doc subdirectory:
| OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doxygen | |
| OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doc/doxygen |
There was a problem hiding this comment.
I found a shorter path more convenient.
Not sure which approach is the optimal, though.
There was a problem hiding this comment.
Me neither. I guess that there are the following options:
-
OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doxygen(as in this PR currently, differs frommaster). Would generate the docs inBUILD/doxygen/html/index.htmlbut put some supplementary files inBUILD/doc/. -
OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doc/doxygen(as inmastercurrently). Everything doc-related goes intoBUILD/doc/with the generated docs atBUILD/doc/doxygen/html/index.html. -
OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doc. Everything doc-related goes intoBUILD/doc/with the generated docs atBUILD/doc/html/index.html.
There was a problem hiding this comment.
2. `OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doc/doxygen` (as in `master` currently). Everything doc-related goes into `BUILD/doc/` with the generated docs at `BUILD/doc/doxygen/html/index.html`.
The option 2 has been chosen during the recent call.
caebe45 to
00c4edd
Compare
|
Addressed @vasild's comments. |
00c4edd to
7cb55a4
Compare
|
Rebased. |
7cb55a4 to
d88e03c
Compare
Same as
make docsin the master branch.