Skip to content

Commit 9c59737

Browse files
committed
Removing unnecessary code from 2015 powershell script.
1 parent f8a36d2 commit 9c59737

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

setup_ps_env_VS2015.ps1

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
function Get-Batchfile ($file) {
2-
$cmd = "@echo off & `"$file`" & set"
3-
cmd /c $cmd | Foreach-Object {
4-
$p, $v = $_.split('=')
5-
Set-Item -path env:$p -value $v
6-
}
7-
}
8-
9-
function VsVars32()
10-
{
11-
$vs140comntools = (Get-ChildItem env:VS140COMNTOOLS).Value
12-
$batchFile = [System.IO.Path]::Combine($vs140comntools, "vsvars32.bat")
13-
Get-Batchfile $BatchFile
14-
}
15-
161
"Initializing C++ REST SDK Powershell VS2015 Environment"
172

183
# Add MSBuild to the path.

0 commit comments

Comments
 (0)