Skip to content

Generate op_enum.h during build rather than a separate step #344

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Dewb
Copy link
Member

@Dewb Dewb commented Jul 7, 2025

What does this PR do?

This is an illustration of a potential approach to #340.
The changes:

  • runs op_enum.py to generate op_enum.h during the build process
  • moves all generated code files to /src/gen
  • moves the codegen build steps common to the module, test, and simulator Makefiles to codegen.mk

Provide links to any related discussion on lines.

How should this be manually tested?

Any background context you want to provide?

If the related Github issues aren't referenced in your commits, please link to them here.

I have,

  • updated CHANGELOG.md and whats_new.md
  • (n/a) updated the documentation
  • (n/a) updated help_mode.c (if applicable)

@Dewb Dewb marked this pull request as draft July 7, 2025 03:54
@Dewb Dewb marked this pull request as ready for review July 10, 2025 02:00
@Dewb Dewb marked this pull request as draft July 10, 2025 06:40
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.

1 participant