kerep/build_scripts/build_lib.sh
2022-06-02 20:32:04 +03:00

11 lines
296 B
Bash

#!/bin/bash
source build_scripts/init.sh
print "${CYAN}=============[build_lib]==============\n"
clear_dir bin
clear_dir obj
compile_c "$BUILD_LIB_C_ARGS" "$SRC_C tests/test_marshalling.c"
compile_cpp "$BUILD_LIB_C_ARGS" "$SRC_CPP"
link "$BUILD_LIB_CPP_ARGS $BUILD_LIB_LINKER_ARGS" "$LIB_FILE"