apache / cordova-windows

[DEPRECATED] Apache Cordova Windows
Apache License 2.0
203 stars 171 forks source link

Change build config options #297

Closed FredGr closed 5 years ago

FredGr commented 6 years ago

When I build for windows using the CLI I get the following messages

λ cordova build windows ENV var MSBUILDDIR is set C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin Building project: D:\M - AEROMETRIX\E - ProductDesign\G - Tablet\Cordova\AexPAD\platforms\windows\CordovaApp.Windows10.jsproj Configuration : debug Platform : anycpu Buildflags : /p:AppxBundle=Never MSBuildTools : C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin buildProject spawn: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild [ 'D:\M - AEROMETRIX\E - ProductDesign\G - Tablet\Cordova\AexPAD\platforms\windows\CordovaApp.Windows10.jsproj', '/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal', '/nologo', '/p:Configuration=debug', '/p:Platform=anycpu', '/p:AppxBundle=Never' ] { stdio: 'inherit' } prebuild.js: Patching platform 10**

How can I change the Configuration:debug; Paltform:anycpu and /nologo options ?

Thanks

janpio commented 6 years ago

This is the generated build command, I am not sure those specific options are configurable.

You will have to look at the code that generated that command - searching here in this repo for e.g. "anycpu" or "nologo" should bring you pretty far.

Why do you want to change these?

janpio commented 5 years ago

Now that I know more about Cordova Windows, I can respond - although we never header back from you:

How can I change the Configuration:debug; Paltform:anycpu and /nologo options ?

Does this answer your question?

Ping @DirkHeinke as you upvoted the initial question.