smanders / externpro

build external projects with cmake
MIT License
13 stars 12 forks source link

generate CMakeGraphVizOptions.cmake #277

Closed smanders closed 4 years ago

smanders commented 4 years ago

according to the docs https://cmake.org/cmake/help/v3.17/module/CMakeGraphVizOptions.html#variables-specific-to-the-graphviz-support

The look and content of the generated graphs can be controlled using the file CMakeGraphVizOptions.cmake. This file is first searched in CMAKE_BINARY_DIR, and then in CMAKE_SOURCE_DIR.

it would be convenient if a project could define the GRAPHVIZ_* variables to adjust options and the CMakeGraphVizOptions.cmake file be created in the CMAKE_BINARY_DIR so it doesn't need to be committed to the repo (CMAKE_SOURCE_DIR)

smanders commented 4 years ago

completed with commit to dev branch referenced above