You can configure anything you'd configure on app.json inside a build profile, you can also add your own properties and read them programmatically with Ext.manifest.yourProperty.
For example:
Code:
"builds": {
"firstCustomer": {
"mainViewName": "Foo.view.main.Foo"
},
"secondCustomer": {
"mainViewName": "Foo.view.main.Bar"
}
},
This will allow you to read that value like this:
Code:
// Do note that in this case the "mainViewName" is an arbitrary name
// you can choose the one that suits you best, this is not something the framework is aware of
Ext.create(Ext.manifest.mainViewName);
And of course, build using the build profile name:
Code:
> sencha app build firstCustomer
> sencha app build secondCustomer