v2.3.3: fixed default build tasks not deleting old out file
This commit is contained in:
@@ -1 +1 @@
|
||||
2.3.2
|
||||
2.3.3
|
||||
@@ -1,3 +1,6 @@
|
||||
## 2.3.3
|
||||
+ now all default build dasks delete out file before building new one
|
||||
|
||||
## 2.3.2
|
||||
+ fixed symlink creation in `OBJDIR/static_libs`
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
INSTALLED_CBUILD_VERSION=2.3.2
|
||||
INSTALLED_CBUILD_VERSION=2.3.3
|
||||
|
||||
# set \t size to 4 spaces
|
||||
tabs 4
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
# delete old objects
|
||||
clean_dir "$OBJDIR/objects"
|
||||
rm -f "$EXEC_FILE"
|
||||
|
||||
# copy profiling info
|
||||
prof_files=$(find "$OBJDIR/profile/" -name '*.gcda')
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
# delete old objects
|
||||
clean_dir "$OBJDIR/objects"
|
||||
rm -f "$SHARED_LIB_FILE"
|
||||
|
||||
[ ! -z "$SRC_C" ] && compile_c "$CMP_C" "$STD_C" "$WARN_C" "$C_ARGS" "$INCLUDE" "$SRC_C"
|
||||
[ ! -z "$SRC_CPP" ] && compile_cpp "$CMP_CPP" "$STD_CPP" "$WARN_CPP" "$CPP_ARGS" "$INCLUDE" "$SRC_CPP"
|
||||
link "$LINKER_ARGS" "$SHARED_LIB_FILE"
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
# delete old objects
|
||||
clean_dir "$OBJDIR/objects"
|
||||
rm -f "$STATIC_LIB_FILE"
|
||||
|
||||
[ ! -z "$SRC_C" ] && compile_c "$CMP_C" "$STD_C" "$WARN_C" "$C_ARGS" "$INCLUDE" "$SRC_C"
|
||||
[ ! -z "$SRC_CPP" ] && compile_cpp "$CMP_CPP" "$STD_CPP" "$WARN_CPP" "$CPP_ARGS" "$INCLUDE" "$SRC_CPP"
|
||||
pack_static_lib "$STATIC_LIB_FILE"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
CBUILD_VERSION=2.3.2
|
||||
CBUILD_VERSION=2.3.3
|
||||
|
||||
PROJECT="%PROJECT_NAME%"
|
||||
CMP_C="gcc"
|
||||
|
||||
Reference in New Issue
Block a user