mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Toggle tilde backend in the build script
This commit is contained in:
@@ -78,8 +78,14 @@ set compiler_includes= ^
|
|||||||
set libs= ^
|
set libs= ^
|
||||||
kernel32.lib ^
|
kernel32.lib ^
|
||||||
Synchronization.lib ^
|
Synchronization.lib ^
|
||||||
bin\llvm\windows\LLVM-C.lib ^
|
bin\llvm\windows\LLVM-C.lib
|
||||||
src\tilde\tb.lib
|
|
||||||
|
set tilde_backend=0
|
||||||
|
if %tilde_backend% EQU 1 (
|
||||||
|
set libs=%libs% src\tilde\tb.lib
|
||||||
|
set compiler_defines=%compiler_defines% -DODIN_TILDE_BACKEND
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
set linker_flags= -incremental:no -opt:ref -subsystem:console
|
set linker_flags= -incremental:no -opt:ref -subsystem:console
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -72,7 +72,7 @@ gb_global Timings global_timings = {0};
|
|||||||
|
|
||||||
#include "linker.cpp"
|
#include "linker.cpp"
|
||||||
|
|
||||||
#if defined(GB_SYSTEM_WINDOWS)
|
#if defined(GB_SYSTEM_WINDOWS) && defined(ODIN_TILDE_BACKEND)
|
||||||
#define ALLOW_TILDE 1
|
#define ALLOW_TILDE 1
|
||||||
#else
|
#else
|
||||||
#define ALLOW_TILDE 0
|
#define ALLOW_TILDE 0
|
||||||
|
|||||||
Reference in New Issue
Block a user