mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
18 lines
520 B
Bash
Executable File
18 lines
520 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Build optional components (eg, may depend on third-party libraries)
|
|
# -----------------------------------------------------------------------------
|
|
cd ${0%/*} || exit 1 # run from this directory
|
|
set -x
|
|
|
|
# build libccmio and create lnInclude directory
|
|
$WM_PROJECT_DIR/bin/tools/AllwmakeLibccmio
|
|
|
|
# if the library built properly, the headers should exist too
|
|
if [ -e $FOAM_LIBBIN/libccmio.so ]
|
|
then
|
|
wmake ccm26ToFoam
|
|
fi
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|