made ccm26ToFoam build conditional on ThirdParty library
This commit is contained in:
parent
14fefb0554
commit
c461ad8fc9
@ -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
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -x
|
||||
|
||||
wmake ccm26ToFoam
|
@ -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
|
Loading…
Reference in New Issue
Block a user