added tasks/strip.sh
This commit is contained in:
parent
94fcbe5daf
commit
375dd842d4
@ -62,7 +62,7 @@ case "$TASK" in
|
|||||||
LINKER_ARGS="$CPP_ARGS $LINKER_LIBS"
|
LINKER_ARGS="$CPP_ARGS $LINKER_LIBS"
|
||||||
PRE_TASK_SCRIPT=
|
PRE_TASK_SCRIPT=
|
||||||
TASK_SCRIPT=cbuild/default_tasks/build_exec.sh
|
TASK_SCRIPT=cbuild/default_tasks/build_exec.sh
|
||||||
POST_TASK_SCRIPT=
|
POST_TASK_SCRIPT="tasks/strip.sh"
|
||||||
;;
|
;;
|
||||||
# creates executable with debug info and no optimizations
|
# creates executable with debug info and no optimizations
|
||||||
build_exec_dbg)
|
build_exec_dbg)
|
||||||
|
|||||||
4
tasks/strip.sh
Normal file
4
tasks/strip.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
exe_path="$OUTDIR/$EXEC_FILE"
|
||||||
|
myprint "${BLUE}stripping symbols from ${WHITE}$exe_path"
|
||||||
|
strip -s "$exe_path"
|
||||||
Loading…
Reference in New Issue
Block a user