Skip to content

CMake Refactor: Explicity Setting Autocoder Outputs#3735

Merged
LeStarch merged 6 commits intonasa:develfrom
LeStarch:issue-3485-3495
Jun 17, 2025
Merged

CMake Refactor: Explicity Setting Autocoder Outputs#3735
LeStarch merged 6 commits intonasa:develfrom
LeStarch:issue-3485-3495

Conversation

@LeStarch
Copy link
Collaborator

@LeStarch LeStarch commented Jun 13, 2025

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

Autocoder shall now set these variables and only these variables. Fixes: #3485, #3495.

Required Variables (At Least One Must Be Set)

Variable Name Use Note
AUTOCODER_GENERATED_AUTOCODER_INPUTS Files that become inputs to subsequent autocoders in the chain Passed to all future autocoders
AUTOCODER_GENERATED_BUILD_SOURCES Source files (.cpp, .c) that get compiled into the target Passed to the build step
AUTOCODER_GENERATED_OTHER Other generated files (data files, etc.) that don't get compiled. Must be handled by some add_custom_target to ensure generation

Optional Variables

Variable Name Use Example
AUTOCODER_DEPENDENCIES Module dependencies that the autocoder deduces Fw_Types, Svc_CmdDispatcher

NOTE: THIS CODE WAS DEVELOPED WITH THE HELP OF GENERATIVE AI

@LeStarch LeStarch added the Breaking Changes / Needs Release Notes Need to add instructions in the release notes for updates. label Jun 13, 2025
@LeStarch
Copy link
Collaborator Author

TODO: fix autocoder documentation

@LeStarch LeStarch requested a review from thomas-bc June 16, 2025 23:47
@LeStarch LeStarch merged commit 90a5269 into nasa:devel Jun 17, 2025
52 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking Changes / Needs Release Notes Need to add instructions in the release notes for updates.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CMake Formalize NON-BUILD but GENERATED FILES

2 participants