set vcbuild environment through msbuild
问题 I have an msbuild project file that is used for building several C++ projects (*.vcproj). Here's a part of a typical project file, in which global environment variables for the build are overridden as properties: <PropertyGroup> <MYBINDIR>d:\buildsysroot\bin</MYBINDIR> <MYLIBDIR>d:\buildsysroot\lib</MYLIBDIR> ... </PrpertyGroup> <ItemGroup> <MyItems Include="d:\buildsysroot\myproject\myproject.vcproj"/> </ItemGroup> <Target Name="Release_x64"> <VCBuild Projects="@(MyItems)" Configuration=