#!/bin/sh cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for compilation (at least for error catching) . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments # Only build if libraries already exist if [ -e $FOAM_LIBBIN/libccm.so ] then echo "==> build optional ccm conversion components" wmake $targetType ccmToFoam wmake $targetType foamToCcm else echo "==> skip optional ccm conversion components (no libccm.so)" fi #------------------------------------------------------------------------------