Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe Your Changes
This pull request introduces a new example project for the
inja
template engine within theengine/examples
directory. The changes include updates to the CMake configuration to support this new example, the addition of new source files, and a sample data file.CMake Configuration Updates:
engine/CMakeLists.txt
: Added an option to enable theinja
example and conditionally include theexamples/inja
directory.engine/examples/inja/CMakeLists.txt
: Created a new CMake configuration file for theinja
example, setting the C++ standard based on available features and configuring necessary libraries.New Example Files:
engine/examples/inja/main.cc
: Added the main source file for theinja
example, which includes command-line argument parsing and template rendering logic.engine/examples/inja/template.txt
: Added a sample template file for theinja
example.engine/examples/inja/data.txt
: Added a sample data file for theinja
example.Fixes Issues
Self Checklist