-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build.bat): customize build settings via environment variables (#…
…178) * feat(build.bat): customize build settings via environment variables * chore(build.bat): delete variable `CMAKE_TOOLSET` * fix(build.bat): Windows XP compatibility * fix(build.bat): BJAM_TOOLSET means platform toolset, not %VisualStudioVersion% * chore(build.bat): remove duplicate bjam options * fix(build.bat): set WINAPI_VERSION for x64
- Loading branch information
Showing
19 changed files
with
122 additions
and
129 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
rem environment settings | ||
rem Customize your build environment and save the modified copy to env.bat | ||
|
||
set RIME_ROOT=%CD% | ||
set BOOST_ROOT=\code\boost_1_60_0 | ||
set CMAKE_INSTALL_PATH=C:\Program Files (x86)\CMake | ||
set GIT_INSTALL_PATH=C:\Program Files (x86)\Git | ||
set VS_INSTALL_PATH=%VS140COMNTOOLS%\..\.. | ||
|
||
rem REQUIRED: path to Boost source directory | ||
set BOOST_ROOT=%USERPROFILE%\source\vendor\boost_1_60_0 | ||
|
||
rem OPTIONAL: Visual Studio version and platform toolset | ||
rem set BJAM_TOOLSET=msvc-14.0 | ||
rem set CMAKE_GENERATOR="Visual Studio 14 2015" | ||
rem set PLATFORM_TOOLSET=v140_xp | ||
|
||
rem OPTIONAL: path to additional build tools | ||
rem set DEVTOOLS_PATH=%ProgramFiles%\Git\cmd;%ProgramFiles%\CMake\bin;C:\Python27; |
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
Oops, something went wrong.