2013/7/24 Alexander Neundorf <[email protected]>:
> Hi,
>
> using cmake --graphviz=filename .
> you can generate graphs showing the dependencies between the targets.
> If present, cmake will read a CMakeGraphVizOptions.cmake file, and use options
> from it, e.g. GRAPHVIZ_GRAPH_TYPE and GRAPHVIZ_EXTERNAL_LIBS.
> AFAIK this is not documented anywhere, and I would like to change this.
>
> But where should I put this information ?

I would suggest to document it inside "CMakeGraphVizOptions.cmake"
using basic markup used for documenting CPack generators.
Then simply make cmake parse the file the way cpack does and you'll
get the variables
(or macro/functions) documented in --help-variable-*

> Simply list the variables in the variables section, and mention that they need
> to be set in a CMakeGraphVizOptions.cmake file ?
> Better ideas ?

Nope.

-- 
Erk
L'élection n'est pas la démocratie -- http://www.le-message.org
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to