Skip to content
New issue

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

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

Already on GitHub? # to your account

Enable target aliasing on dependencies that are brought in from the system / FORCE_SYSTEM_<content-name> #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pysco68
Copy link
Contributor

@pysco68 pysco68 commented Jan 23, 2025

This change enables the target cache creation to create target aliases as specified in the FetchContent_MakeHermetic(<content-name> HERMETIC_CREATE_TARGET_ALIASES <code>) even when the dependency is brough in from the system by setting FORCE_SYSTEM_<content-name>

@pysco68 pysco68 self-assigned this Jan 23, 2025
…ility

Added tests for the target aliasing functionality. Forwarding the ENABLE_LANGUAGES information from
the project through to the evaluation contexts where the information is required.

CHANGELOG

- HFC now executes the specified CREATE_TARGET_ALIASES function when FORCE_SYSTEM_<content-name>=ON

Change-Id: If8054665bc5786f4eb12891d16c975d3f4da1cdc
@pysco68 pysco68 force-pushed the feature/force-system-target-aliasing branch from fded438 to 2a39a3c Compare February 5, 2025 16:26
@pysco68 pysco68 marked this pull request as ready for review February 5, 2025 16:27
@daminetreg daminetreg changed the title Enable target aliasing on dependencies that are brought in form the system / FORCE_SYSTEM_<content-name> Enable target aliasing on dependencies that are brought in from the system / FORCE_SYSTEM_<content-name> Feb 6, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant