Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(build.bat): customize build settings via environment variables #178

Merged
merged 6 commits into from
Feb 21, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ set BJAM_OPTIONS=toolset=%BJAM_TOOLSET%^
set BJAM_OPTIONS_X64=%BJAM_OPTIONS%^
address-model=64^
--stagedir=stage_x64^
define=BOOST_USE_WINAPI_VERSION=0x0501^
cxxflags="/Zc:threadSafeInit- "

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, Windows Server 2003 x64 (including Windows XP x64) should not be ignored. BOOST_USE_WINAPI_VERSION should therefore be 0x0502 here.

if %build_boost% == 1 (
cd /d %BOOST_ROOT%
Expand Down