GENie
GENie copied to clipboard
About the cmdline --platform option
Hi,
I have a question about the command line --platform
option:
In cmdline.lua
, the options are defined as below, and if passed, the argument value is inside the active terms for matching against configuration
specializations.
My questions:
- is it necessary to pass this flag? i.e. I've seen genie's makefile using this option, but I've been making my projects for 4+ without it
- the flag seems to be targeted at being matched against the
platforms
defined in the main genie file (i.e. the workspace settings). - hence the actual main question:
TegraAndroid
is a valid enum value forplatforms
, but it's not allowed by the command line options.
newoption
{
trigger = "platform",
value = "VALUE",
description = "Add target architecture (if supported by action)",
allowed = {
{ "x32", "32-bit" },
{ "x64", "64-bit" },
{ "universal", "Mac OS X Universal, 32- and 64-bit" },
{ "universal32", "Mac OS X Universal, 32-bit only" },
{ "universal64", "Mac OS X Universal, 64-bit only" },
{ "ps3", "Playstation 3" },
{ "orbis", "Playstation 4" },
{ "xbox360", "Xbox 360" },
{ "durango", "Xbox One" },
{ "ARM", "ARM" },
{ "PowerPC", "PowerPC" },
}
}
Cheers.
This is related to #450.
I think it would be better to renamed TegraAndroid
to Android
and expose it to the --platform
cli option.
What do you think?