Basic work on obj generation

This commit is contained in:
gingerBill
2020-02-23 10:04:25 +00:00
parent bfda101686
commit 2180f4a475
10 changed files with 285 additions and 90 deletions
+6 -1
View File
@@ -50,8 +50,13 @@ del *.ilk > NUL 2> NUL
cl %compiler_settings% "src\main.cpp" ^
/link %linker_settings% -OUT:%exe_name% ^
&& odin build examples/llvm-demo/demo.odin -llvm-api
if %errorlevel% neq 0 (
goto end_of_build
)
rem && link -nologo llvm_demo.obj kernel32.lib -OUT:llvm_demo.exe
link llvm_demo.obj kernel32.lib user32.lib /OUT:llvm_demo.exe ^
/nologo /incremental:no /opt:ref /subsystem:CONSOLE /defaultlib:libcmt -debug ^
&& llvm_demo
del *.obj > NUL 2> NUL