mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
18 lines
539 B
Bash
Executable File
18 lines
539 B
Bash
Executable File
#!/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 "Building optional ccm conversion components."
|
|
wmake $targetType ccmToFoam
|
|
wmake $targetType foamToCcm
|
|
else
|
|
echo "Skipping optional ccm conversion components (no libccm.so)."
|
|
fi
|
|
|
|
#------------------------------------------------------------------------------
|