chore: add most used projects helper build script (#5317)

This commit is contained in:
Andrey Nekrasov 2020-07-30 14:30:06 +03:00 committed by GitHub
parent 52e9d37b93
commit c854565e30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,16 @@
cd $PSScriptRoot
cd ..\..
$cwd = Get-Location
$SolutionDir = $cwd,"" -join "\"
cd $SolutionDir
$BuildArgs = "/p:Configuration=Release /p:Platform=x64 /p:BuildProjectReferences=false /p:SolutionDir=$SolutionDir"
$ProjectsToBuild =
".\src\runner\runner.vcxproj",
".\src\modules\shortcut_guide\shortcut_guide.vcxproj",
".\src\modules\fancyzones\lib\FancyZonesLib.vcxproj",
".\src\modules\fancyzones\dll\FancyZonesModule.vcxproj"
$ProjectsToBuild | % {
Invoke-Expression "msbuild $_ $BuildArgs"
}