-
Notifications
You must be signed in to change notification settings - Fork 1k
Premake generator: better integration #17898
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
Open
perseoGI
wants to merge
23
commits into
conan-io:develop2
Choose a base branch
from
perseoGI:feature/premake_toolchain
base: develop2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 22 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
b1a7ed6
WIP: added premake toolchain and updated premake generator
perseoGI 2ccee8d
Updated premake toolchain
perseoGI 8139a45
Created build method on Premake, fix cross building and map architect…
perseoGI 972671d
Added extra flags on premake generator
perseoGI bc5a51f
Stable version, not complete
perseoGI c075cbc
Detailed tooling
perseoGI 845dba0
Improved code generation identation
perseoGI 998d67c
Add option to disable projects
perseoGI 8cc8ecf
Removed global projects as it is not an stable solution
perseoGI c75839f
Use ConanException instead
perseoGI cfe86fb
Removed possibility of managing different workspaces
perseoGI 31b6304
Restore multi workspace allowing PremakeToolchain to be used as a pla…
perseoGI 573bf95
Added more premake tests
perseoGI 794bbff
Parametrize premake test
perseoGI baef18e
Added some comments
perseoGI de01689
Removed old premake functional test
perseoGI 088def5
Added docstring and a way of controlling verbosity on premake
perseoGI 4591f28
Fixed tests
perseoGI a23a6ec
Revert extra formatting
perseoGI 94ebfa0
Remove print
perseoGI 8ada680
Keep both legacy premake generator logic
perseoGI 377d1fd
Added new tests for premake generators
perseoGI 4127b46
Drop support for buildenv flags reading
perseoGI File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from conan.tools.premake.premake import Premake | ||
from conan.tools.premake.premakedeps import PremakeDeps | ||
from conan.tools.premake.premakedeps import PremakeDeps | ||
from conan.tools.premake.toolchain import PremakeToolchain |
This file contains hidden or 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,32 @@ | ||
# Source: https://premake.github.io/docs/architecture/ | ||
CONAN_TO_PREMAKE_ARCH = { | ||
"x86": "x86", | ||
"x86_64": "x86_64", | ||
|
||
"armv4": "arm", | ||
"armv4i": "arm", | ||
"armv5el": "arm", | ||
"armv5hf": "arm", | ||
"armv6": "arm", | ||
"armv7": "arm", | ||
"armv7hf": "arm", | ||
"armv7s": "arm", | ||
"armv7k": "arm", | ||
|
||
"armv8": "arm64", | ||
"armv8_32": "arm64", | ||
"armv8.3": "arm64", | ||
"arm64ec": "arm64", | ||
|
||
"e2k-v2": "e2k", | ||
"e2k-v3": "e2k", | ||
"e2k-v4": "e2k", | ||
"e2k-v5": "e2k", | ||
"e2k-v6": "e2k", | ||
"e2k-v7": "e2k", | ||
|
||
"riscv64": "riscv64", | ||
|
||
"wasm": "wasm32", | ||
"asm.js": "wasm32", | ||
} |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.