Add extra parameter to support custom Premake configuration names #19242
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: New parameter to support custom Premake configuration names
Docs: conan-io/docs#4313
In reference to conan-io/conan-center-index#27838,
The upstream project contains some non-default configuration names:
https://github.com/utelle/wxsqlite3/blob/7c34be98c9859b7525cf3ab33b3b2c8badba6190/premake5.lua#L12:
Currently, we do not have any mechanism to refer to those extra configurations except
DebugorReleasewhich are captured from thebuild_typesetting of the conanfile.This PR introduces a mechanism to bypass that default behavior and set a different Premake configuration.
Example:
Having to set the
configurationin thePremakeDepsis needed (when the project has dependencies), to update the name of the Lua tables accordingly.