[ 
https://issues.apache.org/jira/browse/CB-12239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15749089#comment-15749089
 ] 

ASF GitHub Bot commented on CB-12239:
-------------------------------------

Github user vladimir-kotikov commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/668#discussion_r92459442
  
    --- Diff: www/docs/en/dev/guide/platforms/win8/index.md ---
    @@ -287,6 +287,37 @@ powershell -Command " & {dir -path 
cert:\LocalMachine\My | where { $_.Subject -l
     
     Once these final values are provided. Cordova should successfully package 
and sign the app.
     
    +## MSBuild build flags
    +
    +Similar to other platforms ([`--gradleArg` on 
Android](../android/index.html#setting-gradle-properties), [`--buildFlag` on 
iOS](../ios/index.html#xcode-build-flags)) you can pass custom flags to 
MSBuild. To do this you have two options:
    +
    +- add one or more `--buildFlag` options to `cordova build windows` or 
`cordova run windows` commands:
    +
    +      ```
    +      cordova build windows -- --buildFlag /clp:Verbosity=normal 
--buildFlag /p:myCustomProperty=Value
    --- End diff --
    
    I think there is no big difference since `nopt`, which we use under the 
hood, understands both.


> Allow passing build flags to MSBuild
> ------------------------------------
>
>                 Key: CB-12239
>                 URL: https://issues.apache.org/jira/browse/CB-12239
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Windows
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>              Labels: buildFlag, triaged, windows
>
> Similar to iOS (see CB-11952 and CB-12127) it'd be great if developers could 
> pass arbitrary build flags to MSBuild. This is particularily useful for those 
> who wants their app that contains plugins w/ native code to be compiled w/ 
> specific version of C++ build toolset (or if the plugin specifies toolset 
> that is not available on build machine)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to