It looks like the documentation is not completely consistent by the way,
for instance, the first argument of add_executable is <name>, and of
add_custom_target is Name, although is same situation, isn't it?
For functions and macros, I can reuse this syntax, is there anything
similar for documenting a file, or variables?
More generally, is there anything like Doxygen, Javadoc, both in terms
of syntax and tooling to generate documents from source code?
Re: Syntax to document cmake files, functions and macros
On 12/24/18 12:01 PM, Olivier Croquette wrote:
> I have quite a few .cmake files that I want to document. They define
> functions, macros, and variables, and I was wondering if there is any
> standard or tooling to help.
Yes, see . You can find concrete examples at .