You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
if /i "%3"=="x64" (set __VSString=%__VSString% Win64)
22
-
if /i "%3"=="arm64" (set UseVS=0)
23
-
24
-
set__BuildJit32=%4
18
+
set__SourceDir=%1
19
+
set__VSVersion=%2
20
+
set__Arch=%3
21
+
set__CmakeGenerator=Visual Studio
22
+
if /i "%__VSVersion%"=="vs2015" (set __CmakeGenerator=%__CmakeGenerator%14 2015)
23
+
if /i "%__Arch%"=="x64" (set __CmakeGenerator=%__CmakeGenerator% Win64)
24
+
if /i "%__Arch%"=="arm64" (set __CmakeGenerator=%__CmakeGenerator% Win64)
25
+
if /i "%__Arch%"=="arm" (set __CmakeGenerator=%__CmakeGenerator% ARM)
26
+
27
+
:loop
28
+
if [%4] == [] goto end_loop
29
+
set__ExtraCmakeParams=%__ExtraCmakeParams%%4
30
+
shift
31
+
goto loop
32
+
:end_loop
25
33
26
34
ifdefined CMakePath goto DoGen
27
35
28
36
:: Eval the output from probe-win1.ps1
29
37
for /f "delims="%%ain ('powershell -NoProfile -ExecutionPolicy RemoteSigned "& "%basePath%\probe-win.ps1""') do%%a
30
38
31
39
:DoGen
32
-
if"%UseVS%"=="0" (
33
-
"%CMakePath%""-DCMAKE_USER_MAKE_RULES_OVERRIDE=%basePath%\windows-compiler-override.txt""-DCMAKE_INSTALL_PREFIX:PATH=$ENV{__CMakeBinDir}""-DCLR_CMAKE_HOST_ARCH=%3" -G "Visual Studio %__VSString% Win64"%1
34
-
) else (
35
-
"%CMakePath%""-DCMAKE_USER_MAKE_RULES_OVERRIDE=%basePath%\windows-compiler-override.txt""-DCMAKE_INSTALL_PREFIX:PATH=$ENV{__CMakeBinDir}""-DCLR_CMAKE_HOST_ARCH=%3"%__BuildJit32% -G "Visual Studio %__VSString%"%1
0 commit comments