ChimeraTK / project-template

Template for new projects. Can also be used to update cmake scripts in existing projects by merging the changes. This repository intentionally does not have a README.md (which would create conflicts in the projects using this template). For documentation, please follow this link:
https://github.com/ChimeraTK/project-template/blob/master/HowTo_project-template.md
GNU Lesser General Public License v3.0
1 stars 3 forks source link

Disable doc build and install by default #8

Closed mhier closed 1 year ago

mhier commented 5 years ago

Building and installing the documentation should be disabled by default and only enabled through a cmake option. "make doc" should always build the documentation, even if not enabled through the option. The Debian packaging scripts should enable this option, so we still get documentation in the packages.

Background: building and installing the documentation can take a long time, for DeviceAccess this is dominating the install process and costs already 10 to 20 seconds. Having an up-to-date documentation and installing it is not required in a normal developing work flow. When writing the documentation, on will typically not build the C++ part and not install anything, so "make doc" is perfectly sufficient for this use case.

mhier commented 1 year ago

solved slightly differently some time ago