mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Patch contributed by Bruno Santos Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=2042
21 lines
638 B
Bash
Executable File
21 lines
638 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Build optional components (eg, may depend on third-party libraries)
|
|
#------------------------------------------------------------------------------
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Parse arguments for compilation (at least for error catching)
|
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
|
set -x
|
|
|
|
# build libccmio and create lnInclude directory
|
|
$WM_THIRD_PARTY_DIR/AllwmakeLibccmio
|
|
|
|
# if the library built properly, the headers should exist too
|
|
if [ -e $FOAM_EXT_LIBBIN/libccmio.so ]
|
|
then
|
|
wmake ccm26ToFoam
|
|
fi
|
|
|
|
#------------------------------------------------------------------------------
|