star-build

Automation tool for project installation
git clone git://git.meso-star.fr/star-build.git
Log | Files | Refs | README | LICENSE

commit 5e70a71ee1ae5de19fa2183de9ac603e2c6b7b26
parent 80c08208d097ac022eef3c8af401b0349a852959
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri, 10 Oct 2025 11:29:57 +0200

Add Star-CAD 0.6

Diffstat:
Asrc/cad-libs/star-cad_0.6.sh | 39+++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+), 0 deletions(-)

diff --git a/src/cad-libs/star-cad_0.6.sh b/src/cad-libs/star-cad_0.6.sh @@ -0,0 +1,39 @@ +#!/bin/sh + +# Copyright (C) 2023-2025 |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 + +. "misc/build.sh" + +. "cad-libs/gmsh_4.14.1.sh" +. "sci-libs/star-geometry-3d_0.2.sh" +. "sci-libs/star-enclosures-3d_0.7.2.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-cad" +tag="0.6" + +if [ -n "${STAR_CAD_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_CAD_SH}" +else + export STAR_CAD_SH="${tag}" + + url="$\(REPO\)/star-cad.git" + dep="gmsh rsys star-enclosures-3d star-geometry-3d" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi