Skip to content

Commit 7821f6e

Browse files
committed
build: Add Windows compilation batch script for project compilation.
1 parent e79d03f commit 7821f6e

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

compile.bat

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
@echo off
2+
clang -o proxpl.exe -Iinclude -Isrc -D_CRT_SECURE_NO_WARNINGS ^
3+
src/main.c ^
4+
src/compiler/lexer/scanner.c ^
5+
src/compiler/parser/ast.c ^
6+
src/compiler/parser/parser.c ^
7+
src/compiler/bytecode_gen.c ^
8+
src/compiler/importer.c ^
9+
src/compiler/ir.c ^
10+
src/compiler/ir_gen.c ^
11+
src/compiler/ir_opt.c ^
12+
src/compiler/type_checker.c ^
13+
src/runtime/chunk.c ^
14+
src/runtime/compiler.c ^
15+
src/runtime/debug.c ^
16+
src/runtime/ffi_bridge.c ^
17+
src/runtime/gc.c ^
18+
src/runtime/memory.c ^
19+
src/runtime/object.c ^
20+
src/runtime/scheduler.c ^
21+
src/runtime/table.c ^
22+
src/runtime/value.c ^
23+
src/runtime/vm.c ^
24+
src/runtime/vm_helpers.c ^
25+
src/stdlib/collections_native.c ^
26+
src/stdlib/convert_native.c ^
27+
src/stdlib/core_native.c ^
28+
src/stdlib/fs_native.c ^
29+
src/stdlib/gc_native.c ^
30+
src/stdlib/hash_native.c ^
31+
src/stdlib/io_native.c ^
32+
src/stdlib/json_native.c ^
33+
src/stdlib/math_native.c ^
34+
src/stdlib/net_native.c ^
35+
src/stdlib/os_native.c ^
36+
src/stdlib/reflect_native.c ^
37+
src/stdlib/stdlib_core.c ^
38+
src/stdlib/string_native.c ^
39+
src/stdlib/sys_native.c ^
40+
src/stdlib/system_native.c ^
41+
src/stdlib/time_native.c
42+
echo Build complete.

0 commit comments

Comments
 (0)