I have always used Visual Studios built in GUI support for configuring my projects, often using property sheets so that several projects will use a common set.
One o
I made some improvements, may be useful for somebody
$([System.Convert]::ToString( $([System.Text.RegularExpressions.Regex]::IsMatch($(Configuration), '[Dd]ebug'))))
x86
x64
$(registry:HKEY_CURRENT_USER\Software\MyCompany\@BUILD_DIR)
Debug
-d
Release
$(BUILD_DIR)\Bin\$(MyOutDirBase)_$(ShortPlatform)\
$(BUILD_DIR)\Build\$(Configuration)_$(ShortPlatform)_$(PlatformToolset)\$(ProjectGuid)\
$(SolutionDir)\Bin\$(MyOutDirBase)_$(ShortPlatform)\
$(SolutionDir)\Build\$(Configuration)_$(ShortPlatform)_$(PlatformToolset)\$(ProjectGuid)\
$(MyOutDir)
$(MyIntDir)
have fun!