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

templates: add module template. #53

Merged
merged 1 commit into from
Sep 19, 2024
Merged

templates: add module template. #53

merged 1 commit into from
Sep 19, 2024

Conversation

ericonr
Copy link
Member

@ericonr ericonr commented Sep 19, 2024

This makes it simpler to add the boilerplate for new modules, instead of having to copy an existing file and remember to change all the required places.

The script doesn't handle adding the modules to meson.build yet, but that might be an interesting future direction.

This makes it simpler to add the boilerplate for new modules, instead of
having to copy an existing file and remember to change all the required
places.

The script doesn't handle adding the modules to meson.build yet, but
that might be an interesting future direction.

We add the templates to the build to ensure they don't become outdated.
In order to be able to build them without any hacks, mod_template.cc had
to use a simple include for "mod_template.h", so add_module.sh has to
fix the include path.
@ericonr ericonr merged commit 3b883c0 into master Sep 19, 2024
25 checks passed
@ericonr ericonr deleted the templates branch September 19, 2024 19:48
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