Refactor the folder structure which only had 2 'real' modules, now it's more real, no need for splitting into folders beside the external one
This commit is contained in:
4
build.sh
4
build.sh
@@ -23,7 +23,7 @@ fi
|
||||
|
||||
cd build
|
||||
|
||||
I="-I../src/external/SDL/include -I../src/external/glad -I../src"
|
||||
I="-I../src/external/SDL/include -I../src/external/glad"
|
||||
flags="-Wall -Wextra -Werror -Wformat=2 -Wundef -Wshadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-writable-strings \
|
||||
-g -fdiagnostics-absolute-paths \
|
||||
-nostdlib++ -fno-exceptions"
|
||||
@@ -32,4 +32,4 @@ if [ -v debug ]; then flags="$flags -fsanitize=address,undefined -fno-omit-fra
|
||||
if [ -v release ]; then flags="$flags -DDEBUG_BUILD=0 -O2"; fi
|
||||
if [ -v slow ]; then flags="$flags -DSLOW_BUILD=1"; fi
|
||||
|
||||
time clang -o te $flags ../src/text_editor/text_editor.cpp $I -lSDL3 -lm -lbacktrace
|
||||
time clang -o te $flags ../src/text_editor.cpp $I -lSDL3 -lm -lbacktrace
|
||||
|
||||
Reference in New Issue
Block a user