mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
made ccm26ToFoam build conditional on ThirdParty library
This commit is contained in:
@ -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 = \
|
EXE_INC = \
|
||||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||||
-I$(LIB_SRC)/other/libccmio \
|
-I$(thirdParty)/libccmio \
|
||||||
-I$(LIB_SRC)/other/libccmio/libccmio/lnInclude
|
-I$(thirdParty)/libccmio/lnInclude
|
||||||
|
|
||||||
EXE_LIBS = \
|
EXE_LIBS = \
|
||||||
-lfiniteVolume \
|
-lfiniteVolume \
|
||||||
-lmeshTools \
|
-lmeshTools \
|
||||||
-lccmio \
|
-lccmio
|
||||||
-ladf
|
|
||||||
Reference in New Issue
Block a user