mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
19 lines
710 B
Bash
Executable File
19 lines
710 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments # (for error catching)
|
|
. $WM_PROJECT_DIR/wmake/scripts/sysFunctions # General system functions
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Only build when the OpenFOAM libccm adaptor already exists
|
|
if findLibrary "$FOAM_LIBBIN/libccm" > /dev/null
|
|
then
|
|
echo "==> build optional ccm conversion components"
|
|
wmake $targetType ccmToFoam
|
|
wmake $targetType foamToCcm
|
|
else
|
|
echo "==> skip optional ccm conversion components (no libccm)"
|
|
fi
|
|
|
|
#------------------------------------------------------------------------------
|