mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: reduce compile noise for paraview modules
- vtkkwiml headers use old-style casts, so reduce compile-time warnings
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
set -x
|
#set -x
|
||||||
|
|
||||||
wclean libso vtkPVReaders
|
wclean libso vtkPVReaders
|
||||||
PVblockMeshReader/Allwclean
|
PVblockMeshReader/Allwclean
|
||||||
|
|||||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source the wmake functions
|
# Source the wmake functions
|
||||||
. $WM_DIR/scripts/wmakeFunctions
|
. $WM_DIR/scripts/wmakeFunctions
|
||||||
|
|
||||||
set -x
|
#set -x
|
||||||
|
|
||||||
# deal with client/server vs combined plugins
|
# deal with client/server vs combined plugins
|
||||||
rm -f $FOAM_LIBBIN/libPVFoamReader* 2>/dev/null
|
rm -f $FOAM_LIBBIN/libPVFoamReader* 2>/dev/null
|
||||||
|
|||||||
@ -11,7 +11,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
||||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||||
|
|
||||||
set -x
|
#set -x
|
||||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||||
then
|
then
|
||||||
wmake $targetType vtkPVFoam
|
wmake $targetType vtkPVFoam
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
EXE_INC = \
|
EXE_INC = \
|
||||||
|
${c++LESSWARN} \
|
||||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||||
-I$(LIB_SRC)/dynamicMesh/lnInclude \
|
-I$(LIB_SRC)/dynamicMesh/lnInclude \
|
||||||
|
|||||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source the wmake functions
|
# Source the wmake functions
|
||||||
. $WM_DIR/scripts/wmakeFunctions
|
. $WM_DIR/scripts/wmakeFunctions
|
||||||
|
|
||||||
set -x
|
#set -x
|
||||||
|
|
||||||
# deal with client/server vs combined plugins
|
# deal with client/server vs combined plugins
|
||||||
rm -f $FOAM_LIBBIN/libPVblockMeshReader* 2>/dev/null
|
rm -f $FOAM_LIBBIN/libPVblockMeshReader* 2>/dev/null
|
||||||
|
|||||||
@ -11,7 +11,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
||||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||||
|
|
||||||
set -x
|
#set -x
|
||||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||||
then
|
then
|
||||||
wmake $targetType vtkPVblockMesh
|
wmake $targetType vtkPVblockMesh
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
EXE_INC = \
|
EXE_INC = \
|
||||||
|
${c++LESSWARN} \
|
||||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||||
-I$(LIB_SRC)/fileFormats/lnInclude \
|
-I$(LIB_SRC)/fileFormats/lnInclude \
|
||||||
-I$(LIB_SRC)/mesh/blockMesh/lnInclude \
|
-I$(LIB_SRC)/mesh/blockMesh/lnInclude \
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
EXE_INC = \
|
EXE_INC = \
|
||||||
|
${c++LESSWARN} \
|
||||||
-I$(ParaView_INCLUDE_DIR) \
|
-I$(ParaView_INCLUDE_DIR) \
|
||||||
-I$(ParaView_INCLUDE_DIR)/vtkkwiml
|
-I$(ParaView_INCLUDE_DIR)/vtkkwiml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user