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

Define CMake components to allow docs to be installed separately #4276

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

carlsmedstad
Copy link
Contributor

Define two Cmake components, core and doc, which can be installed separately. This facilitates packagers who want to package docs in a separate package.

After this change it's possible to install only core files with:

cmake --install build --component core

And only install documentation with:

cmake --install build --component doc

When no component is specified, the behaviour is unchanged, i.e. if documentation was built, it will be installed.

Define two components, core and doc, which can be installed separately.
This facilitates packagers who want to package docs in a separate
package.

After this change it's possible to install only core files with:

     cmake --install build --component core

And only install documentation with:

     cmake --install build --component doc

When no component is specified, the behaviour is unchanged, i.e. if
documentation was built, it will be installed.
@vitaut vitaut merged commit 5fa4bdd into fmtlib:master Dec 26, 2024
44 checks passed
@vitaut
Copy link
Contributor

vitaut commented Dec 26, 2024

Merged, thanks!

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