Skip to content
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

About the cmdline --platform option #449

Open
KageKirin opened this issue Jun 12, 2019 · 1 comment
Open

About the cmdline --platform option #449

KageKirin opened this issue Jun 12, 2019 · 1 comment

Comments

@KageKirin
Copy link
Contributor

KageKirin commented Jun 12, 2019

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 for platforms, 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.

@KageKirin
Copy link
Contributor Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@KageKirin and others