Begin LLVM C API integration

This commit is contained in:
gingerBill
2020-02-01 22:50:57 +00:00
parent 0f399a7294
commit 6ed6a91a64
45 changed files with 10683 additions and 2 deletions
+5 -2
View File
@@ -30,7 +30,8 @@ set compiler_warnings= ^
set compiler_includes=
set libs= ^
kernel32.lib
kernel32.lib ^
bin\llvm\windows\LLVM-C.lib
set linker_flags= -incremental:no -opt:ref -subsystem:console
@@ -48,7 +49,9 @@ del *.ilk > NUL 2> NUL
cl %compiler_settings% "src\main.cpp" ^
/link %linker_settings% -OUT:%exe_name% ^
&& odin run examples/demo/demo.odin
&& odin build examples/llvm-demo/demo.odin -llvm-api
rem && link -nologo llvm_demo.obj kernel32.lib -OUT:llvm_demo.exe
del *.obj > NUL 2> NUL