I'm trying to build a Visual Studio solution (C++) using msbuild
msbuild.exe mysolution.sln /p:platform="ARM" /p:configuration="Release"
I'm getting this error
error : all paths through this function will call itself [-Werror,-Winfinite-recursion]
I just want to be able to turn off -Werror from the command line, instead of turning it off in Project Properties > Configuration Properties > C/C++ > Treat Warnings As Errors
Thanks!
Edit 1. There are also other project properties that I would like to set that can't be fixed in code, such as Configuration Properties > General > Platform Toolset and Configuration Properties > General > Use of STL. FWIW, I'm targeting the ARM platform as you can see from my command line above.