commit d0aa8c67dfac713ad81d0b7f0a8da114931c2dec
parent edb0d9506b1f361642e89d4409fee8b3664f4fa3
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 21 Nov 2023 12:39:31 +0100
Add the build script of the star-enclosures-2d library
It is currently based on the feature_posix_make branch currently under
development.
Diffstat:
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -49,6 +49,7 @@ lint:
shellcheck -o all -x -P src src/star-camera_0.2.sh
shellcheck -o all -x -P src src/star-ck_0.1.sh
shellcheck -o all -x -P src src/star-cmap_0.1.sh
+ shellcheck -o all -x -P src src/star-enclosures-2d.sh
shellcheck -o all -x -P src src/star-engine_0.15.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
diff --git a/src/star-enclosures-2d.sh b/src/star-enclosures-2d.sh
@@ -0,0 +1,32 @@
+#!/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_ENCLOSURES_2D}" ] && return
+export STAR_ENCLOSURES_2D=1
+
+. "build.sh"
+. "rsys_0.14.sh"
+. "star-2d_0.7.sh"
+
+name="star-enclosures-2d"
+url="$\(REPO\)/star-enclosures-2d.git"
+tag="origin/feature_posix_make"
+dep="rsys star-2d"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo