mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
can call Allwmake scripts directly instead of with ( cd foo && ./Allwmake )
This commit is contained in:
@ -7,14 +7,12 @@ set -x
|
||||
|
||||
|
||||
# build libccmio and create lnInclude directory
|
||||
(
|
||||
cd $WM_THIRD_PARTY_DIR && ./AllwmakeLibccmio
|
||||
)
|
||||
( cd $WM_THIRD_PARTY_DIR && ./AllwmakeLibccmio )
|
||||
|
||||
# if the library built okay, the headers should exist too
|
||||
# if the library built properly, the headers should exist too
|
||||
if [ -e $FOAM_LIBBIN/libccmio.so ]
|
||||
then
|
||||
wmake ccm26ToFoam
|
||||
wmake ccm26ToFoam
|
||||
fi
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
@ -2,8 +2,9 @@
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
READLINE=0
|
||||
if [ -f /usr/include/readline/readline.h ]; then
|
||||
echo "Found readline/readline.h include file. Enabling readline support."
|
||||
if [ -f /usr/include/readline/readline.h ]
|
||||
then
|
||||
echo "Found readline/readline.h -- enabling readline support."
|
||||
READLINE=1
|
||||
export READLINELINK="-lreadline -lncurses"
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user