build_static_lib_dbg
This commit is contained in:
parent
8efee6e738
commit
731c589b6e
3
Makefile
3
Makefile
@ -10,6 +10,9 @@ build_shared_lib:
|
||||
|
||||
build_static_lib:
|
||||
@build_scripts/build_configurations/build_static_lib.sh
|
||||
|
||||
build_static_lib_dbg:
|
||||
@build_scripts/build_configurations/build_static_lib_dbg.sh
|
||||
|
||||
###### Testing tasks #######
|
||||
test: build_test
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
source build_scripts/init.sh
|
||||
|
||||
print "${CYAN}==========[build_shared_lib]==========\n"
|
||||
print "${CYAN}==========[build_static_lib]==========\n"
|
||||
clear_dir "$OUTDIR"
|
||||
clear_dir "$OBJDIR"
|
||||
compile_c "$BUILD_STATIC_LIB_C_ARGS" "$SRC_C tests/test_marshalling.c"
|
||||
|
||||
10
build_scripts/build_configurations/build_static_lib_dbg.sh
Normal file
10
build_scripts/build_configurations/build_static_lib_dbg.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
source build_scripts/init.sh
|
||||
|
||||
print "${CYAN}==========[build_static_lib_dbg]==========\n"
|
||||
clear_dir "$OUTDIR"
|
||||
clear_dir "$OBJDIR"
|
||||
compile_c "$BUILD_STATIC_LIB_DBG_C_ARGS" "$SRC_C tests/test_marshalling.c"
|
||||
compile_cpp "$BUILD_STATIC_LIB_DBG_CPP_ARGS" "$SRC_CPP"
|
||||
pack_static_lib "$STATIC_LIB_DBG_FILE"
|
||||
@ -32,8 +32,12 @@ BUILD_SHARED_LIB_C_ARGS="-O2 -fpic -flto -shared"
|
||||
BUILD_SHARED_LIB_CPP_ARGS="$BUILD_SHARED_LIB_C_ARGS"
|
||||
BUILD_SHARED_LIB_LINKER_ARGS="-Wl,-soname,$SHARED_LIB_FILE"
|
||||
|
||||
|
||||
# build_STATIC_LIB
|
||||
# build_static_lib
|
||||
STATIC_LIB_FILE=kerep.a
|
||||
BUILD_STATIC_LIB_C_ARGS="-O2 -fpic"
|
||||
BUILD_STATIC_LIB_CPP_ARGS="$BUILD_STATIC_LIB_C_ARGS"
|
||||
|
||||
# build_static_lib_dbg
|
||||
STATIC_LIB_DBG_FILE="$STATIC_LIB_FILE"
|
||||
BUILD_STATIC_LIB_DBG_C_ARGS="-O0 -g"
|
||||
BUILD_STATIC_LIB_DBG_CPP_ARGS="$BUILD_STATIC_LIB_DBG_C_ARGS"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user