1
0
Fork 0

hard coded vs compiler

This commit is contained in:
Christian Kühnel 2020-02-04 07:49:00 +00:00
parent 5ea89e7e7c
commit 9519489e51

View file

@ -44,6 +44,11 @@ Push-Location build
# load Vistual Studio environment variables # load Vistual Studio environment variables
Invoke-CmdScript "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 Invoke-CmdScript "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64
# Make sure we're using the Vistual Studio compiler and linker
$env:CC=cl
$env:CXX=cl
$env:LD=link
# call CMake # call CMake
$ErrorActionPreference="Continue" $ErrorActionPreference="Continue"
Invoke-Call -ScriptBlock { Invoke-Call -ScriptBlock {