commit e81a129db8edba2698ff645a8e42459e8f41c88d
parent b6829d542b05342a04b471086c24dd6fea458bd3
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 25 Jul 2023 12:51:20 +0200
Configure a full build of the star-engine
Write the missing star-engine projects build files and add them as
dependencies of the star-engine build.
Diffstat:
10 files changed, 313 insertions(+), 0 deletions(-)
diff --git a/src/star-2d.sh b/src/star-2d.sh
@@ -0,0 +1,33 @@
+#!/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_2D_SH}" ] && return
+export STAR_2D_SH=1
+
+. "build.sh"
+. "embree_4.0.1.sh"
+. "rsys.sh"
+
+[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE"
+[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED"
+
+name="star-2d"
+url="$\(REPO\)/star-2d.git"
+tag="origin/feature_posix_make"
+dep="rsys embree4"
+opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}"
+git_repo
diff --git a/src/star-3daw.sh b/src/star-3daw.sh
@@ -0,0 +1,36 @@
+#!/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_3DAW_SH}" ] && return
+export STAR_3DAW_SH=1
+
+. "build.sh"
+
+. "aw.sh"
+. "polygon.sh"
+. "rsys.sh"
+. "star-3d.sh"
+
+[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE"
+[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED"
+
+name="star-3daw"
+url="$\(REPO\)/star-3daw.git"
+tag="origin/feature_posix_make"
+dep="aw polygon rsys star-3d"
+opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}"
+git_repo
diff --git a/src/star-3dstl.sh b/src/star-3dstl.sh
@@ -0,0 +1,34 @@
+#!/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_3DSTL_SH}" ] && return
+export STAR_3DSTL_SH=1
+
+. "build.sh"
+. "rsys.sh"
+. "star-3d.sh"
+. "star-stl.sh"
+
+[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE"
+[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED"
+
+name="star-3dstl"
+url="$\(REPO\)/star-3dstl.git"
+tag="origin/feature_posix_make"
+dep="rsys star-3d star-stl"
+opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}"
+git_repo
diff --git a/src/star-3dut.sh b/src/star-3dut.sh
@@ -0,0 +1,32 @@
+#!/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_3DUT}" ] && return
+export STAR_3DUT_SH=1
+
+. "build.sh"
+. "rsys.sh"
+
+[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE"
+[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED"
+
+name="star-3dut"
+url="$\(REPO\)/star-3dut.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}"
+git_repo
diff --git a/src/star-engine.sh b/src/star-engine.sh
@@ -22,3 +22,16 @@ export STAR_ENGINE_SH=1
. "polygon.sh"
. "rsimd.sh"
. "rsys.sh"
+. "star-2d.sh"
+. "star-3d.sh"
+. "star-3daw.sh"
+. "star-3dstl.sh"
+. "star-3dut.sh"
+. "star-sf.sh"
+. "star-sp.sh"
+. "star-stl.sh"
+. "star-mc.sh"
+. "star-uvm.sh"
+. "star-vx.sh"
+
+profile star-engine.profile
diff --git a/src/star-mesh.sh b/src/star-mesh.sh
@@ -0,0 +1,33 @@
+#!/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_MESH_SH}" ] && return
+export STAR_MESH_SH=1
+
+. "build.sh"
+. "rsys.sh"
+# TODO add scdoc
+
+[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE"
+[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED"
+
+name="star-mesh"
+url="$\(REPO\)/star-mesh.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}"
+git_repo
diff --git a/src/star-sf.sh b/src/star-sf.sh
@@ -0,0 +1,34 @@
+#!/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_SF_SH}" ] && return
+export STAR_SF_SH=1
+
+. "build.sh"
+. "rsimd.sh"
+. "rsys.sh"
+. "star-sp.sh"
+
+[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE"
+[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED"
+
+name="star-sf"
+url="$\(REPO\)/star-sf.git"
+tag="origin/feature_posix_make"
+dep="rsimd rsys star-sp"
+opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}"
+git_repo
diff --git a/src/star-stl.sh b/src/star-stl.sh
@@ -0,0 +1,32 @@
+#!/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_STL_SH}" ] && return
+export STAR_STL_SH=1
+
+. "build.sh"
+. "rsys.sh"
+
+[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE"
+[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED"
+
+name="star-stl"
+url="$\(REPO\)/star-stl.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}"
+git_repo
diff --git a/src/star-uvm.sh b/src/star-uvm.sh
@@ -0,0 +1,34 @@
+#!/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_UVM_SH}" ] && return
+export STAR_UVM_SH=1
+
+. "build.sh"
+. "embree_4.0.1.sh"
+. "rsys.sh"
+. "star-mesh.sh"
+
+[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE"
+[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED"
+
+name="star-uvm"
+url="$\(REPO\)/star-uvm.git"
+tag="origin/feature_posix_make"
+dep="embree4 rsys star-mesh"
+opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}"
+git_repo
diff --git a/src/star-vx.sh b/src/star-vx.sh
@@ -0,0 +1,32 @@
+#!/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_VX_SH}" ] && return
+export STAR_VX_SH=1
+
+. "build.sh"
+. "rsys.sh"
+
+[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE"
+[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED"
+
+name="star-vx"
+url="$\(REPO\)/star-vx.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}"
+git_repo