star-build

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

commit 878e9a62cf12f480efcb1dd0c1ca502179451d3e
parent d0aa8c67dfac713ad81d0b7f0a8da114931c2dec
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 22 Nov 2023 11:16:47 +0100

Add the build script of the star-enclosures-3d library

It is currently based on the feature_posix_make branch currently under
development.

Diffstat:
Mlint.mk | 1+
Asrc/star-enclosures-3d.sh | 32++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/lint.mk b/lint.mk @@ -50,6 +50,7 @@ lint: 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-enclosures-3d.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-3d.sh b/src/star-enclosures-3d.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_3D}" ] && return +export STAR_ENCLOSURES_3D=1 + +. "build.sh" +. "rsys_0.14.sh" +. "star-3d_0.10.sh" + +name="star-enclosures-3d" +url="$\(REPO\)/star-enclosures-3d.git" +tag="origin/feature_posix_make" +dep="rsys star-3d" +opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" +git_repo