#!/bin/sh cd ${0%/*} || exit 1 # Run from this directory # Optional unit: continue-on-error # - may not have CGAL installed, # - or the CGAL installation moved and gives CMake problems export WM_CONTINUE_ON_ERROR=true # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments if [ -f "$CGAL_ARCH_PATH/include/CGAL/version.h" ] || \ [ "${CGAL_ARCH_PATH##*-}" = system -a -f /usr/include/CGAL/version.h ] then wmake $targetType conformalVoronoiMesh wmake $targetType conformalVoronoi2DMesh wmake foamyQuadMesh wmake foamyHexMesh # wmake foamyHexMeshBackgroundMesh # (cd foamyHexMeshSurfaceSimplify && ./Allwmake) # wmake cellSizeAndAlignmentGrid echo "Finish ${PWD##*/}" # Also for a clean exit code else echo "WARNING: cannot build ${PWD##*/} without CGAL" fi #------------------------------------------------------------------------------