commit aa5c9837165382f4f1c9f303fdee3ea8590dda1b
parent 67d2a75d477748be580ba89e600197ede07f041d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 6 May 2024 16:32:09 +0200
Add the build script of the star-cpr library
It is currently based on the develop branch, with no version label. We
can therefore assume that it is still under development
Diffstat:
1 file changed, 33 insertions(+), 0 deletions(-)
diff --git a/src/star-cpr.sh b/src/star-cpr.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+# Copyright (C) 2023, 2024 |Méso|Star> (contact@meso-star.com)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+set -e
+
+[ -n "${STAR_CPR_SH}" ] && return
+export STAR_CPR_SH=1
+
+. "build.sh"
+. "clipper2_1.1.1.sh"
+. "polygon_0.2.sh"
+. "rsys_0.14.sh"
+
+name="star-cpr"
+url="$\(REPO\)/star-cpr.git"
+tag="origin/develop"
+dep="clipper2 polygon rsys"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo