commit c458600a2db1f27e0be6c05c199a9e6fe2ba656c
parent 60f3b1b9217c281c8dde42013c55381a3a1270df
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 27 Jul 2023 15:17:15 +0200
Add the build script of the star-cmap library
Diffstat:
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -31,6 +31,7 @@ lint:
shellcheck -o all -x -P src src/star-3d.sh
shellcheck -o all -x -P src src/star-3dstl.sh
shellcheck -o all -x -P src src/star-3dut.sh
+ shellcheck -o all -x -P src src/star-cmap.sh
shellcheck -o all -x -P src src/star-engine.sh
shellcheck -o all -x -P src src/star-mc.sh
shellcheck -o all -x -P src src/star-mesh.sh
diff --git a/src/star-cmap.sh b/src/star-cmap.sh
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+
+# 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/>.
+
+[ -n "${STAR_CMAP_SH}" ] && return
+export STAR_CMAP_SH=1
+
+. "build.sh"
+. "rsys.sh"
+
+name="star-cmap"
+url="$\(REPO\)/star-cmap.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo