Refactor windows and web compiling
This commit is contained in:
@@ -8,8 +8,8 @@ set rel=-O3 -DDEBUG_BUILD=0
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
clang ../src/metaprogram/metaprogram.cpp ../src/basic/win32.cpp -o metaprogram.exe %flags% -g -DDEBUG_BUILD=1 -I../src
|
||||
clang ../src/metaprogram/metaprogram.cpp -o metaprogram.exe %flags% -g -DDEBUG_BUILD=1 -I../src
|
||||
metaprogram.exe
|
||||
cd ..
|
||||
|
||||
emcc -o text_editor.html --shell-file=data/shell.html %flags% %incs% %wasmflags% %dbg% -lm -lSDL3 src/text_editor/text_editor.cpp src/basic/wasm.cpp src/external/luaunity.c src/external/glad/glad.c
|
||||
emcc -o text_editor.html --shell-file=data/shell.html %flags% %incs% %wasmflags% %dbg% -lm -lSDL3 src/text_editor/text_editor.cpp
|
||||
|
||||
Reference in New Issue
Block a user