-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
needinforeported bug is incomplete, please add additional inforeported bug is incomplete, please add additional info
Description
I am sorry if this is already implemented, but I couldn't see it in the issues or the list of supported languages.
Description
Being able to generate xml
and html
documentation for cmake entities. These would be particularly useful with sphinx
+breathe
and moderncmakedomain
Details
A minimal documentation that would be helpful for the user documentation:
-
macro()
andfunction()
: positional arguments, named arguments (fromcmake_parsed_arguments
), and expected variables (set from the parent when function/macro is called) -
option()
andset(CACHE)
: type, default, helper string -
target
: type, aliases, exported name, generated object (library and binary) if any -
install(COMPONENT)
: component, installed items -
install(FILES)
: files, destination -
export(TARGET)
(part oftarget
above) -
find_package(COMPONENT)
: component, target file
Additionally I think these are helpful for the developer documentation:
-
add_custom_command()
: output files/target, commands, comment -
add_custom_target()
: target, commands, comment -
include()
: location (e.g.my_helper.cmake
)
Anton3
Metadata
Metadata
Assignees
Labels
needinforeported bug is incomplete, please add additional inforeported bug is incomplete, please add additional info