forked from OpenCyphal/nunavut
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting support_templates_dir additionally to templates_dir (Op…
…enCyphal#326) Using an external template for support code is currently not possible, as it was explicitly disabled to fix a bug: OpenCyphal@c7db1bd I was working around that bug in the past, by just calling nunavut twice, for support and templates, e.g.: ``` nnvg --templates my_template/support --target-language c --generate-support never ... nnvg --templates my_template/templates --target-language c --generate-support only ... ``` Since version 2.1.0, this is not possible anymore. This PR implements this use-case properly again, by adding an argument `--support-templates` to separate support from struct serialization. So now it becomes: ``` nnvg --support-templates my_template/support --templates my_template/templates --target-language c ... ```
- Loading branch information
Showing
6 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters