new repo for codebase
This commit is contained in:
17
build.sh
Normal file
17
build.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
if [ ! -d build ]; then
|
||||
mkdir build
|
||||
fi
|
||||
pushd build
|
||||
clang ../src/testing/testing_main.c -g
|
||||
popd
|
||||
|
||||
# if [ ! -f build/build_tool.exe ]; then
|
||||
# echo build_tool rebuild
|
||||
# cd build
|
||||
# clang ../src/meta/build_tool.c -ldl -lbacktrace -o build_tool.exe -g -fdiagnostics-absolute-paths -Wno-single-bit-bitfield-constant-conversion -Wno-unsequenced
|
||||
# cd ..
|
||||
# fi
|
||||
|
||||
# ./build/build_tool.exe clang ../build_file.c -o build_file.exe -ldl -lm -lbacktrace -g -Wall -Wextra -Wno-missing-braces -Wno-missing-field-initializers -Wno-single-bit-bitfield-constant-conversion -fdiagnostics-absolute-paths -Wno-writable-strings -Wno-unsequenced
|
||||
Reference in New Issue
Block a user