commit 7ad222a699c1c6e794bc8838f7862e4df26adb82
parent c249d19a0f6c3c170883f547039145c8c89b8e7f
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 14 Dec 2023 16:41:53 +0100
Add the build script of the star-geometry-3d library
It is currently based on the feature_posix_make branch, with no version
label. We can therefore assume that it is still under development.
Diffstat:
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -52,6 +52,7 @@ lint:
shellcheck -o all -x -P src src/star-enclosures-2d.sh
shellcheck -o all -x -P src src/star-enclosures-3d.sh
shellcheck -o all -x -P src src/star-engine_0.15.sh
+ shellcheck -o all -x -P src src/star-geometry-3d.sh
shellcheck -o all -x -P src src/star-mc_0.6.sh
shellcheck -o all -x -P src src/star-mesh_0.1.sh
shellcheck -o all -x -P src src/star-sf_0.9.sh
diff --git a/src/star-geometry-3d.sh b/src/star-geometry-3d.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+# Copyright (C) 2023 |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_GEOMETRY_3D}" ] && return
+export STAR_GEOMETRY_3D=1
+
+. "build.sh"
+. "rsys_0.14.sh"
+
+name="star-geometry-3d"
+url="$\(REPO\)/star-geometry-3d.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo