-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into context-cleanup
- Loading branch information
Showing
14 changed files
with
258 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@echo off | ||
pushd %~dp0 | ||
set "PATH=%ProgramFiles%\LLVM-12\bin;%PATH%" | ||
set BUILDTOOLS_VERSION=clang-12 | ||
set CMAKE_GEN=Ninja | ||
call build.cmd %* | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@echo off | ||
pushd %~dp0 | ||
set "PATH=%ProgramFiles%\LLVM\bin;%PATH%" | ||
set BUILDTOOLS_VERSION=clang | ||
set CMAKE_GEN=Ninja | ||
call build.cmd %* | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,33 @@ | ||
REM Build with Visual Studio 2015 | ||
set "VS_TOOLS_VERSION=vs2015" | ||
set ARCH=Win64 | ||
set "PATH=%ProgramFiles(x86)%\MSBuild\14.0\Bin;%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\bin;%PATH%" | ||
|
||
REM ### Note that vcpkg built with 2019/2017 can't be used with 2015! | ||
REM ### Consider to specify custom VCPKG_ROOT for 2015 as follows: | ||
REM | ||
REM set VCPKG_ROOT=C:\vcpkg.2015 | ||
REM | ||
|
||
set BUILDTOOLS_VERSION=vs2015 | ||
set ARCH=x64 | ||
if NOT "%1"=="" ( | ||
set ARCH=%1 | ||
) | ||
set "CMAKE_GEN=Visual Studio 14 2015 %ARCH%" | ||
set "CMAKE_GEN=Ninja" | ||
set "VCPKG_VISUAL_STUDIO_PATH=%ProgramFiles(x86)%\Microsoft Visual Studio 14.0" | ||
|
||
REM Building with Windows SDK 8.1 | ||
set "PATH=%ProgramFiles(x86)%\Windows Kits\8.1\bin\%ARCH%;%PATH%" | ||
set WINSDK_VERSION=8.1 | ||
set CMAKE_SYSTEM_VERSION=8.1 | ||
set VCPKG_PLATFORM_TOOLSET=v140 | ||
|
||
REM ### Replace above Windows SDK 8.1 by Windows 10 SDK if necessary. | ||
REM ### Resulting binaries may not be compatible with Windows 8 | ||
REM | ||
REM set WINSDK_VERSION=10.0.19041.0 | ||
REM set "PATH=%ProgramFiles(x86)%\Windows Kits\10\bin\10.0.19041.0\%ARCH%\;%PATH%" | ||
REM | ||
|
||
cd %~dp0 | ||
call setup-buildtools.cmd | ||
REM TODO: currently we cannot build without Abseil variant for Visual Studio 2015 | ||
call build.cmd -DWITH_ABSEIL:BOOL=ON | ||
call build.cmd -DMSVC_TOOLSET_VERSION=140 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
REM Build with Visual Studio 2017 | ||
set "VS_TOOLS_VERSION=vs2017" | ||
set ARCH=Win64 | ||
set "BUILDTOOLS_VERSION=vs2017" | ||
set ARCH=x64 | ||
if NOT "%1"=="" ( | ||
set ARCH=%1 | ||
) | ||
set "CMAKE_GEN=Visual Studio 15 2017 %ARCH%" | ||
|
||
REM ### Uncomment below to use Visual Studio MSBuild solution. | ||
REM ### Ninja generator produces much faster builds. But it is | ||
REM ### easier to debug MSBuild solution in vs2017 IDE : | ||
REM | ||
REM set "CMAKE_GEN=Visual Studio 15 2017" | ||
REM | ||
|
||
cd %~dp0 | ||
call setup-buildtools.cmd | ||
call build.cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
REM Build with Visual Studio 2017 | ||
set "VS_TOOLS_VERSION=vs2019" | ||
set ARCH=Win64 | ||
set "BUILDTOOLS_VERSION=vs2019" | ||
set ARCH=x64 | ||
if NOT "%1"=="" ( | ||
set ARCH=%1 | ||
) | ||
if "%ARCH%"=="Win64" ( | ||
if "%ARCH%"=="x64" ( | ||
REM Parameter needed for CMake Visual Studio 2019 generator | ||
set CMAKE_ARCH=x64 | ||
) | ||
|
||
set "CMAKE_GEN=Visual Studio 16 2019" | ||
cd %~dp0 | ||
call setup-buildtools.cmd | ||
call build.cmd |
Oops, something went wrong.