20 lines
549 B
Bash
Executable file
20 lines
549 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
|
|
|
|
# foamToTecplot360 will not compile on MS Windows
|
|
if [ "$WM_OSTYPE" = "MSWindows" ]
|
|
then
|
|
echo MSWindows detected. Skipping compilation of foamToTecplot360.
|
|
else
|
|
# build tecio
|
|
wmake libso tecio/tecsrc
|
|
|
|
# build converter
|
|
wmake
|
|
fi
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|