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

Sergey Grebnov 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.
As an example is WebSQL plugin which contains references to C++ libs so needs 
to be built for specific architecture (x84, x64, ARM) and which does not 
support AnyCPU target.

So it looks important to add support for additional build flags `-x64`, `-x86`, 
`-arm`, '-any' to specify target chip architecture.
{noformat}
cordova build windows8 --release --x64
cordova build wp8 --arm
{noformat}
If 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. A
As an example is WebSQL plugin which contains references to C++ libs so needs 
to be built for specific architecture (x84, x64, ARM) and which does not 
support AnyCPU target.

So it looks important to add support for additional build flags `-x64`, `-x86`, 
`-arm`, '-any' to specify target chip architecture.
{noformat}
cordova build windows8 --release --x64
cordova build wp8 --arm
{noformat}
If 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.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If 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