scripts fixed again

This commit is contained in:
Timerix22 2022-06-03 20:37:58 +03:00
parent d9dc064793
commit eb72368958
2 changed files with 4 additions and 4 deletions

View File

@ -3,8 +3,8 @@
source build_scripts/init.sh source build_scripts/init.sh
print "${CYAN}=============[build_lib]==============\n" print "${CYAN}=============[build_lib]==============\n"
clear_dir bin clear_dir "$OUTDIR"
clear_dir obj clear_dir "$OBJDIR"
compile_c "$BUILD_LIB_C_ARGS" "$SRC_C tests/test_marshalling.c" compile_c "$BUILD_LIB_C_ARGS" "$SRC_C tests/test_marshalling.c"
compile_cpp "$BUILD_LIB_C_ARGS" "$SRC_CPP" compile_cpp "$BUILD_LIB_C_ARGS" "$SRC_CPP"
link "$BUILD_LIB_CPP_ARGS $BUILD_LIB_LINKER_ARGS" "$LIB_FILE" link "$BUILD_LIB_CPP_ARGS $BUILD_LIB_LINKER_ARGS" "$LIB_FILE"

View File

@ -3,8 +3,8 @@
source build_scripts/init.sh source build_scripts/init.sh
print "${CYAN}=============[build_test]=============\n" print "${CYAN}=============[build_test]=============\n"
clear_dir bin clear_dir "$OUTDIR"
clear_dir obj clear_dir "$OBJDIR"
compile_c "$BUILD_TEST_C_ARGS" "$SRC_C $TESTS_C" compile_c "$BUILD_TEST_C_ARGS" "$SRC_C $TESTS_C"
compile_cpp "$BUILD_TEST_CPP_ARGS" "$SRC_CPP $TESTS_CPP" compile_cpp "$BUILD_TEST_CPP_ARGS" "$SRC_CPP $TESTS_CPP"
link "$BUILD_TEST_CPP_ARGS $BUILD_TEST_LINKER_ARGS" $TEST_FILE link "$BUILD_TEST_CPP_ARGS $BUILD_TEST_LINKER_ARGS" $TEST_FILE