Optimizing search, buggy BlockArena on emscripten, cleanup MergeSort, address sanitizer, compile web on linux
This commit is contained in:
6
build.sh
6
build.sh
@@ -3,10 +3,12 @@
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
FLAGS="-nostdlib++ -fno-exceptions -fdiagnostics-absolute-paths -g -Wno-writable-strings -I../src -DDEBUG_BUILD=1"
|
||||
FLAGS="-Wall -Wno-missing-braces -Wno-writable-strings -nostdlib++ -fsanitize=address -fno-exceptions -fdiagnostics-absolute-paths -g -Wno-writable-strings -I../src -DDEBUG_BUILD=1"
|
||||
# clang -o metaprogram $FLAGS ../src/metaprogram/metaprogram.cpp
|
||||
# ./metaprogram
|
||||
|
||||
I="-I../src/external/SDL/include -I../src/external/lua/src -I../src/external/glad"
|
||||
clang -o te $FLAGS ../src/text_editor/text_editor.cpp $I -lSDL3 -lm -lbacktrace
|
||||
cp te ../data/te
|
||||
cp te ../data/te
|
||||
|
||||
# -v -Wl,--verbose
|
||||
Reference in New Issue
Block a user