updated build system

This commit is contained in:
2025-02-28 17:34:19 -06:00
parent e114f905ad
commit f42cc78ab7
34 changed files with 161 additions and 41 deletions

View File

@@ -34,10 +34,11 @@ if [ "${PROJECT_BUILD_CLEAN}" == "clean" ]; then
popd
fi
make -j${NUM_JOBS} || exit 1
export CMAKE_BUILD_PARALLEL_LEVEL=${NUM_JOBS}
make || exit 1
pushd build
make -j${NUM_JOBS} || exit 1
make -j${CMAKE_BUILD_PARALLEL_LEVEL} || exit 1
popd
popd
@@ -79,6 +80,11 @@ EOF
fi
done
if [ -f "${PROJECT_SOURCE_DIR}/web/${PROJECT_NAME}/pubspec.yaml" ]; then
rsync -av --progress "${PROJECT_SOURCE_DIR}/web/${PROJECT_NAME}/build/web/" \
"${PROJECT_DIST_DIR}/web/"
fi
if [ "${PROJECT_IS_MINGW}" == "1" ]; then
. "${PROJECT_SCRIPTS_DIR}/copy_mingw64_deps.sh" "$1" "$2" "$3" "$4" "$5"
fi