18 lines
527 B
Bash
Executable file
18 lines
527 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 properly, the headers should exist too
|
|
if [ -e $FOAM_LIBBIN/libccmio.so ]
|
|
then
|
|
wmake ccm26ToFoam
|
|
fi
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|