Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2013-04-08 13:12:54 +0400
committerChristophe Romain <christophe.romain@process-one.net>2013-06-13 13:11:02 +0400
commit4d8f7706240a1603468968f47fc7b150b788d62f (patch)
tree92d55d789cc7ac979b3c9e161ffb7f908eba043a /configure.bat
parent4f77348255a16982ffb494b684b061d34db27608 (diff)
Switch to rebar build tool
Use dynamic Rebar configuration Make iconv dependency optional Disable transient_supervisors compile option Add hipe compilation support Only compile ibrowse and lhttpc when needed Make it possible to generate an OTP application release Add --enable-debug compile option Add --enable-all compiler option Add --enable-tools configure option Add --with-erlang configure option. Add --enable-erlang-version-check configure option. Add lager support Improve the test suite
Diffstat (limited to 'configure.bat')
-rw-r--r--configure.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.bat b/configure.bat
new file mode 100644
index 000000000..46a93d8c9
--- /dev/null
+++ b/configure.bat
@@ -0,0 +1,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
+