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

forward COMPONENT parametert in install instruction #715

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jorisv
Copy link
Contributor

@jorisv jorisv commented Sep 19, 2024

CMake install instruction support the COMPONENT parameter that allow to install some subpart of the package by doing cmake -DCOMPONENT=<component_name> -P build/cmake_install.cmake.

This will allow to more easily split our package into subpackage by creating custom installation rules.

Add the ADD_INSTALL_TARGET function to easily create a target to install a specific component.

@jorisv jorisv marked this pull request as ready for review September 19, 2024 13:13
@jorisv jorisv requested a review from nim65s September 19, 2024 13:13
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