Skip to content
Closed
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
Prev Previous commit
vcbuild.bat: without-inspector/-profiler options
  • Loading branch information
Christopher J. Brody committed Dec 6, 2016
commit 056cd2d71edd064a0a6bebecd1db597cd8935d87
9 changes: 8 additions & 1 deletion vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ set enable_vtune_arg=
set configure_flags=
set build_addons=
set dll=
set noinspector=
set noprofiler=

:next-arg
if "%1"=="" goto args-done
Expand Down Expand Up @@ -77,11 +79,13 @@ if /i "%1"=="upload" set upload=1&goto arg-ok
if /i "%1"=="small-icu" set i18n_arg=%1&goto arg-ok
if /i "%1"=="full-icu" set i18n_arg=%1&goto arg-ok
if /i "%1"=="intl-none" set i18n_arg=%1&goto arg-ok
if /i "%1"=="without-intl" set i18n_arg=%1&goto arg-ok
if /i "%1"=="download-all" set download_arg="--download=all"&goto arg-ok
if /i "%1"=="ignore-flaky" set test_args=%test_args% --flaky-tests=dontcare&goto arg-ok
if /i "%1"=="enable-vtune" set enable_vtune_arg=1&goto arg-ok
if /i "%1"=="dll" set dll=1&goto arg-ok
if /i "%1"=="without-intl" set i18n_arg=%1&goto arg-ok
if /i "%1"=="without-inspector" set noinspector=1&goto arg-ok
if /i "%1"=="without-profiler" set noprofiler=1&goto arg-ok

echo Error: invalid command line option `%1`.
exit /b 1
Expand Down Expand Up @@ -119,6 +123,9 @@ if "%i18n_arg%"=="small-icu" set configure_flags=%configure_flags% --with-intl=s
if "%i18n_arg%"=="intl-none" set configure_flags=%configure_flags% --with-intl=none
if "%i18n_arg%"=="without-intl" set configure_flags=%configure_flags% --without-intl

if defined noinspector set configure_flags=%configure_flags% --without-inspector
if defined noprofiler set configure_flags=%configure_flags% --without-profiler

if defined config_flags set configure_flags=%configure_flags% %config_flags%

if not exist "%~dp0deps\icu" goto no-depsicu
Expand Down