updated scripts
This commit is contained in:
2
cbuild
2
cbuild
Submodule cbuild updated: dc5947f92d...e8e42424d3
@@ -7,7 +7,7 @@ CMP_C="gcc"
|
|||||||
CMP_CPP="g++"
|
CMP_CPP="g++"
|
||||||
STD_C="c11"
|
STD_C="c11"
|
||||||
STD_CPP="c++11"
|
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"
|
WARN_CPP="-Wall -Wextra -Wno-unused-parameter"
|
||||||
SRC_C="$( find src -name '*.c')"
|
SRC_C="$( find src -name '*.c')"
|
||||||
SRC_CPP="$( find src -name '*.cpp')"
|
SRC_CPP="$( find src -name '*.cpp')"
|
||||||
@@ -15,10 +15,9 @@ SRC_CPP="$( find src -name '*.cpp')"
|
|||||||
#TESTS_CPP="$(find tests -name '*.cpp')"
|
#TESTS_CPP="$(find tests -name '*.cpp')"
|
||||||
|
|
||||||
# OBJDIR structure:
|
# OBJDIR structure:
|
||||||
# ├── objects - dir where compiled *.o files are stored. cleans every call of build task
|
# ├── objects/ - dir where compiled *.o files are stored. cleans every call of build task
|
||||||
# ├── profile - dir where gcc *.gcda profiling info files stored
|
# ├── profile/ - dir where gcc *.gcda profiling info files stored
|
||||||
# ├── libs - there you can put static libs and linker will find them
|
# └── libs/ - there you can put static libs and linker will find them
|
||||||
# └── out - output files are created here and then copied to OUTDIR
|
|
||||||
OBJDIR="obj"
|
OBJDIR="obj"
|
||||||
OUTDIR="bin"
|
OUTDIR="bin"
|
||||||
|
|
||||||
|
|||||||
2
kerep
2
kerep
Submodule kerep updated: 8ea44cdc24...26b69f9b7b
@@ -2,4 +2,5 @@
|
|||||||
source cbuild/colors.sh
|
source cbuild/colors.sh
|
||||||
source cbuild/functions.sh
|
source cbuild/functions.sh
|
||||||
touch ".rebuild_$1.tmp"
|
touch ".rebuild_$1.tmp"
|
||||||
|
rm -fv "obj/libs/$1.a"
|
||||||
myprint "${YELLOW}$1.a will be rebuilt in the next build task"
|
myprint "${YELLOW}$1.a will be rebuilt in the next build task"
|
||||||
|
|||||||
Reference in New Issue
Block a user