[ 
https://issues.apache.org/jira/browse/CB-6728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Kotikov updated CB-6728:
---------------------------------

    Description: 
Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
architecture, which is universal, but sometimes it's critical to build 
application for specific processor architecture.
In our case WebSQL plugin contains C++ sources and use prepackage hook. And it 
need to be built for specific architecture (x84, x64, ARM, not univeral AnyCPU)

It would be great if we can provide additional flag like `-x64`, `-x86` or 
`-arm` to specify target chip architecture.
{noformat}
cordova build windows8 --release --x64
cordova build wp8 --arm
{noformat}
If the flag is not specified, `AnuCPU` target platform should be used by 
default.

  was:
Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
architecture, which is universal, but sometimes it's critical to build 
application for specific processor architecture.
In our case WebSQL plugin contains C++ sources and use prepackage hook. And it 
need to be built for specific architecture (x84, x64, ARM, not univeral AnyCPU)

It would be great if we can provide additional flag like `-x64`, `-x86` or 
`-arm` {noformat}
cordova build windows8 --release --x64
cordova build wp8 --arm
{noformat} to specify, how binaries should be built. Of course, if the flag is 
not specified, `AnuCPU` target platform should be used by default.


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-6728
>                 URL: https://issues.apache.org/jira/browse/CB-6728
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI, Windows 8, WP8
>    Affects Versions: 3.4.0
>            Reporter: Vladimir Kotikov
>            Assignee: Jesse MacFadyen
>              Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> In our case WebSQL plugin contains C++ sources and use prepackage hook. And 
> it need to be built for specific architecture (x84, x64, ARM, not univeral 
> AnyCPU)
> It would be great if we can provide additional flag like `-x64`, `-x86` or 
> `-arm` to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If the flag is not specified, `AnuCPU` target platform should be used by 
> default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to