Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make building docs optional #4

Merged
merged 3 commits into from
Nov 20, 2020
Merged

Conversation

scivision
Copy link
Contributor

@scivision scivision commented Nov 8, 2020

I often use Fortran on resource-limited platforms where docs are not necessary. I would like to have the option to avoid building docs even when Ford is present.
For similar reasons, this allows making Zofu self-tests optional (BUILD_TESTING is defined TRUE by include(CTest))

@acroucher
Copy link
Owner

@apthorpe would you mind testing this out? It looks OK to me but I'm not very familiar with CMake.

@acroucher acroucher merged commit eca6cdc into acroucher:master Nov 20, 2020
@acroucher
Copy link
Owner

@scivision, I've tested this out myself and it seems fine. It actually makes the CMake behaviour more consistent with what happens with Meson, which also does not build the docs by default. I've merged this and released as version 1.1.1 (along with a couple of other small updates to the Github Actions setup).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants