summaryrefslogtreecommitdiff
path: root/configure.bat
blob: 46a93d8c9ea40375805f2477704eea00fa7a1ad2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@if "x%1"=="x--help" goto usage

@set arg=dynamic
@if "x%1"=="x--static" set arg=static

@echo Configuring for %arg% build...

erlc configure.erl
erl -s configure -env arg %arg% -noshell

@goto end

:usage
@echo Usage: configure.bat
@echo or configure.bat --static
@echo or configure.bat --help

:end