我正在尝试使用msbuild通过命令行构建Visual Studio项目。 我使用了以下命令:
SET VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120
msbuild.exe ../../../embedded/ports/visualC12/config-from-host.vcxproj
/p:Configuration=Release /p:Platform=Win32 /t:rebuild
使用IDE:大约需要2分钟 使用命令行:大约需要20分钟
在命令行中,它似乎构建了很多在IDE中没有构建的项目。 有什么建议吗?