Skip to content

Conversation

@LeStarch
Copy link
Collaborator

Related Issue(s)
Has Unit Tests (y/n)
Documentation Included (y/n)

Change Description

Prevents GENERATED source files from being marked as CMAKE_CONFIGURE_DEPENDS in requires_regeneration instead of depending on caller's good graces.

Rationale

Marking source files as CMAKE_CONFIGURE_DEPENDS that are also GENERATED can cause loops within the build/configure steps (build depends on configure, which via this property is dependent on build output).

This removes the responsibility of the caller to track if a file was GENERATED, and instead queries CMake for that data instead. Thus preventing caller error from causing regeneration cycles.

@thomas-bc thomas-bc merged commit e63bc77 into nasa:devel May 14, 2025
44 checks passed
@LeStarch LeStarch deleted the issue-3533 branch June 16, 2025 20:29
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