mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
C#: Let platforms signal if they support it or not
Instead of hardcoding platform names that support C#, let platforms set a flag indicating if they support it. All public platforms except web already support it, and it's a pain to maintain a patch for this list just to add additional names of proprietary console platforms. This makes adding new platforms or variants or existing platforms much easier, as the platform can signal what it supports/doesn't support directly, and we can avoid harcoding platform names.
This commit is contained in:
parent
3a8524dd92
commit
21e524a798
6 changed files with 8 additions and 7 deletions
|
@ -68,6 +68,7 @@ def get_flags():
|
|||
return [
|
||||
("arch", "arm64"), # Default for convenience.
|
||||
("target", "template_debug"),
|
||||
("supported", ["mono"]),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue