Skip to content

Commit

Permalink
build(env.bat.template): set default envvar
Browse files Browse the repository at this point in the history
these envvar used to have default values in build.bat.
now they must be set in env.bat.
  • Loading branch information
lotem committed Jun 10, 2023
1 parent dfb1e97 commit fe5a65d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions env.bat.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ set RIME_ROOT=%CD%
rem REQUIRED: path to Boost source directory
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_1_78_0

rem OPTIONAL: architecture, Visual Studio version and platform toolset
rem set ARCH=Win32
rem set BJAM_TOOLSET=msvc-14.2
rem set CMAKE_GENERATOR="Visual Studio 16 2019"
rem set PLATFORM_TOOLSET=v142
rem architecture, Visual Studio version and platform toolset
set ARCH=Win32
set BJAM_TOOLSET=msvc-14.2
set CMAKE_GENERATOR="Visual Studio 16 2019"
set PLATFORM_TOOLSET=v142

rem OPTIONAL: path to additional build tools
rem set DEVTOOLS_PATH=%ProgramFiles%\Git\cmd;%ProgramFiles%\CMake\bin;C:\Python27;
2 changes: 1 addition & 1 deletion env.vs2017_xp.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set RIME_ROOT=%CD%
rem REQUIRED: path to Boost source directory
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_1_69_0

rem OPTIONAL: architecture, Visual Studio version and platform toolset
rem architecture, Visual Studio version and platform toolset
set ARCH=Win32
set BJAM_TOOLSET=msvc-14.1
set CMAKE_GENERATOR="Visual Studio 15 2017"
Expand Down
2 changes: 1 addition & 1 deletion env.vs2019.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set RIME_ROOT=%CD%
rem REQUIRED: path to Boost source directory
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_1_78_0

rem OPTIONAL: architecture, Visual Studio version and platform toolset
rem architecture, Visual Studio version and platform toolset
set ARCH=Win32
set BJAM_TOOLSET=msvc-14.2
set CMAKE_GENERATOR="Visual Studio 16 2019"
Expand Down
2 changes: 1 addition & 1 deletion env.vs2022.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set RIME_ROOT=%CD%
rem REQUIRED: path to Boost source directory
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_1_78_0

rem OPTIONAL: architecture, Visual Studio version and platform toolset
rem architecture, Visual Studio version and platform toolset
set ARCH=Win32
set BJAM_TOOLSET=msvc-14.3
set CMAKE_GENERATOR="Visual Studio 17 2022"
Expand Down

0 comments on commit fe5a65d

Please sign in to comment.