-
Notifications
You must be signed in to change notification settings - Fork 53
/
build_windows_msvc.bat
30 lines (23 loc) · 1.07 KB
/
build_windows_msvc.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
cd src
cl /nologo /O2 /MT /LD /Felibumka.dll /DUMKA_BUILD /DUMKA_EXT_LIBS umka_api.c umka_common.c umka_compiler.c umka_const.c umka_decl.c umka_expr.c umka_gen.c umka_ident.c umka_lexer.c umka_runtime.c umka_stmt.c umka_types.c umka_vm.c
lib /nologo /out:libumka_static.lib *.obj
cl /nologo /O2 /MT /Feumka.exe umka.c libumka.lib
del *.obj
cd ..
mkdir umka_windows_msvc
move /y src\libumka* umka_windows_msvc
move /y src\umka.exe umka_windows_msvc
copy src\umka_api.h umka_windows_msvc
copy LICENSE umka_windows_msvc
copy Umka.sublime-syntax umka_windows_msvc
mkdir umka_windows_msvc\examples
mkdir umka_windows_msvc\examples\3dcam
mkdir umka_windows_msvc\examples\fractal
mkdir umka_windows_msvc\examples\lisp
mkdir umka_windows_msvc\examples\raytracer
mkdir umka_windows_msvc\doc
copy examples\3dcam\*.* umka_windows_msvc\examples\3dcam
copy examples\fractal\*.* umka_windows_msvc\examples\fractal
copy examples\lisp\*.* umka_windows_msvc\examples\lisp
copy examples\raytracer\*.* umka_windows_msvc\examples\raytracer
copy doc\*.* umka_windows_msvc\doc