commit 18b61cefe350f094dbfe91255b0d21f1293278c3
parent 3ccd76dcc97b40dd47269571512f74876ba57a77
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Mon, 3 Mar 2025 16:29:42 +0100
Add a build script for star-cad_0.5.1
Diffstat:
1 file changed, 34 insertions(+), 0 deletions(-)
diff --git a/src/star-cad_0.5.1.sh b/src/star-cad_0.5.1.sh
@@ -0,0 +1,34 @@
+#!/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_CAD_SH}" ] && return
+export STAR_CAD_SH=1
+
+. "build.sh"
+. "gmsh_4.12.2.sh"
+. "rsys_0.14.sh"
+. "star-enclosures-3d_0.7.2.sh"
+. "star-geometry-3d_0.2.sh"
+
+name="star-cad"
+url="$\(REPO\)/star-cad.git"
+tag="0.5.1"
+dep="gmsh rsys star-enclosures-3d star-geometry-3d"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo