updated scripts

This commit is contained in:
Timerix22 2023-05-19 14:10:04 +06:00
parent 87859e9d97
commit 933b515fad
4 changed files with 7 additions and 7 deletions

2
cbuild

@ -1 +1 @@
Subproject commit dc5947f92d310f05a8765242bed6b825c043a182
Subproject commit e8e42424d329ef1e75fb827ddf85d55b4cd89169

View File

@ -7,7 +7,7 @@ CMP_C="gcc"
CMP_CPP="g++"
STD_C="c11"
STD_CPP="c++11"
WARN_C="-Wall -Wno-ignored-qualifiers -Wextra -Wno-unused-parameter"
WARN_C="-Wall -Wno-discarded-qualifiers -Wextra -Wno-unused-parameter"
WARN_CPP="-Wall -Wextra -Wno-unused-parameter"
SRC_C="$( find src -name '*.c')"
SRC_CPP="$( find src -name '*.cpp')"
@ -15,10 +15,9 @@ SRC_CPP="$( find src -name '*.cpp')"
#TESTS_CPP="$(find tests -name '*.cpp')"
# OBJDIR structure:
# ├── objects - dir where compiled *.o files are stored. cleans every call of build task
# ├── profile - dir where gcc *.gcda profiling info files stored
# ├── libs - there you can put static libs and linker will find them
# └── out - output files are created here and then copied to OUTDIR
# ├── objects/ - dir where compiled *.o files are stored. cleans every call of build task
# ├── profile/ - dir where gcc *.gcda profiling info files stored
# └── libs/ - there you can put static libs and linker will find them
OBJDIR="obj"
OUTDIR="bin"

2
kerep

@ -1 +1 @@
Subproject commit 8ea44cdc24120ce6e13b0a92767e2002123b1bc1
Subproject commit 26b69f9b7bb7a816b8f048557efe0641428b9e80

View File

@ -2,4 +2,5 @@
source cbuild/colors.sh
source cbuild/functions.sh
touch ".rebuild_$1.tmp"
rm -fv "obj/libs/$1.a"
myprint "${YELLOW}$1.a will be rebuilt in the next build task"