Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
teaching
nswi098
Cecko
skeleton
Commits
9c78c8e3
Commit
9c78c8e3
authored
Nov 08, 2020
by
Bednárek David RNDr. Ph.D.
Browse files
cmake doxygen support improved
parent
e23100b0
Changes
1
Show whitespace changes
Inline
Side-by-side
CMakeConf.cmake
View file @
9c78c8e3
...
...
@@ -27,6 +27,10 @@ if(NOT DEFINED MAKE_DOXYGEN)
message
(
"MAKE_DOXYGEN was not defined, defaulting to FALSE"
)
endif
()
if
(
NOT DEFINED DOXYGEN_OUTPUT_DIRECTORY
)
set
(
DOXYGEN_OUTPUT_DIRECTORY
"."
CACHE FILEPATH
"Doxygen output directory (relative to <build>/fmwk)"
)
endif
()
if
(
MAKE_DOXYGEN
)
find_package
(
Doxygen REQUIRED dot
)
endif
()
...
...
@@ -174,6 +178,8 @@ endfunction()
function
(
DOXYGEN TARGET
)
if
(
MAKE_DOXYGEN
)
set
(
DOXYGEN_DOT_IMAGE_FORMAT svg
)
#set(DOXYGEN_GENERATE_TAGFILE "fmwk.tag")
doxygen_add_docs
(
"
${
TARGET
}
"
${
ARGN
}
ALL
)
endif
()
endfunction
()
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment