mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
21 lines
525 B
Bash
Executable File
21 lines
525 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
|
|
(
|
|
cd $WM_THIRD_PARTY_DIR && ./AllwmakeLibccmio
|
|
)
|
|
|
|
# if the library built okay, the headers should exist too
|
|
if [ -e $FOAM_LIBBIN/libccmio.so ]
|
|
then
|
|
wmake ccm26ToFoam
|
|
fi
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|