[Feature] Added features to the premake cli wrapper #17398
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.
Changelog: Feature:
Addes features to the preamke5 cli wrapper:
premake5.lua
file is changeablearguments
Thees changes are required in order to fully support calling the premake5 executable. This lays the foundation for a
PremakeToolchain
.This is one of the key components of #14724 but in a modified version. I plan to add the other main feature (build) as a follow up under
PremakeToolchain
. As I have understand as long as premake does not have a build feature. Which it does not have. It should be "chained" as a Toolchain that would utilize the cli wrapper and the platform specific build system wrapper (MSBuild
or a directmake
call) other than being integrated in the cli wrapper. Correct?Would we need to add any test coverage other than the "basic" test @memsharded added? Like checking that arguments work etc.)
Currently there is (as previously discussed) no documentation for the whole premake feature set. I assume we will stay like this for now. I would however recommend to document the feature as soon as premake is feature complete.
develop
branch, documenting this one.