kerep/build_scripts/build_test.sh
2022-06-03 20:37:58 +03:00

11 lines
308 B
Bash

#!/bin/bash
source build_scripts/init.sh
print "${CYAN}=============[build_test]=============\n"
clear_dir "$OUTDIR"
clear_dir "$OBJDIR"
compile_c "$BUILD_TEST_C_ARGS" "$SRC_C $TESTS_C"
compile_cpp "$BUILD_TEST_CPP_ARGS" "$SRC_CPP $TESTS_CPP"
link "$BUILD_TEST_CPP_ARGS $BUILD_TEST_LINKER_ARGS" $TEST_FILE