made ccm26ToFoam build conditional on ThirdParty library

This commit is contained in:
Mark Olesen 2008-06-05 11:50:01 +02:00
parent 14fefb0554
commit c461ad8fc9
5 changed files with 16 additions and 8 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
# Build optional components (eg, may depend on third-party libraries)
set -x
# if the library exists, assume there are headers too
if [ -e $FOAM_LIBBIN/libccmio.so ]
then
wmake ccm26ToFoam
fi
# end

View File

@ -1,4 +0,0 @@
#!/bin/sh
set -x
wmake ccm26ToFoam

View File

@ -1,11 +1,12 @@
thirdParty=$(WM_PROJECT_INST_DIR)/ThirdParty
EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/other/libccmio \
-I$(LIB_SRC)/other/libccmio/libccmio/lnInclude
-I$(thirdParty)/libccmio \
-I$(thirdParty)/libccmio/lnInclude
EXE_LIBS = \
-lfiniteVolume \
-lmeshTools \
-lccmio \
-ladf
-lccmio