Files
openfoam/applications/utilities/mesh/conversion/Optional/Allwmake
henry e0d3735b08 Filter out 'Optional' directories from 'wmake all'; these must be built
specifically on the request of the user by running 'wmake all' or 'Allwmake'
in the directory as appropriate.
2008-06-11 09:44:14 +01:00

20 lines
342 B
Bash
Executable File

#!/bin/sh
# Build optional components (eg, may depend on third-party libraries)
set -x
# build libccmio if required
if [ ! -e $FOAM_LIBBIN/libccmio.so ]
then
(
cd $WM_THIRD_PARTY_DIR && ./AllwmakeLibccmio
)
fi
# if the library built okay, the headers must exist too
if [ -e $FOAM_LIBBIN/libccmio.so ]
then
wmake ccm26ToFoam
fi
# end