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

Merged
merged 5 commits into from
Nov 20, 2024

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 force-pushed the topic/install_component branch from 825e441 to a913f74 Compare September 19, 2024 12:55
@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
@jorisv jorisv force-pushed the topic/install_component branch from ba4e0bd to f662ae2 Compare November 20, 2024 10:16
@jorisv jorisv merged commit f1f95f9 into jrl-umi3218:master Nov 20, 2024
2 checks passed
@jorisv jorisv deleted the topic/install_component branch November 20, 2024 10:22
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.

3 participants