mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
@ -47,7 +47,8 @@ case "$ParaView_VERSION" in
|
|||||||
if canBuildPlugin
|
if canBuildPlugin
|
||||||
then
|
then
|
||||||
(
|
(
|
||||||
# C++ compiler for CMake
|
# ensure CMake gets the correct C/C++ compilers
|
||||||
|
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
||||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||||
|
|
||||||
wmake $targetType vtkPV3Readers
|
wmake $targetType vtkPV3Readers
|
||||||
|
|||||||
@ -47,7 +47,8 @@ case "$ParaView_VERSION" in
|
|||||||
if canBuildPlugin
|
if canBuildPlugin
|
||||||
then
|
then
|
||||||
(
|
(
|
||||||
# C++ compiler for CMake
|
# ensure CMake gets the correct C/C++ compilers
|
||||||
|
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
||||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||||
|
|
||||||
wmake $targetType vtkPVReaders
|
wmake $targetType vtkPVReaders
|
||||||
|
|||||||
@ -8,7 +8,8 @@ targetType=libso
|
|||||||
# Source the wmake functions
|
# Source the wmake functions
|
||||||
. $WM_DIR/scripts/wmakeFunctions
|
. $WM_DIR/scripts/wmakeFunctions
|
||||||
|
|
||||||
# C++ compiler for CMake
|
# ensure CMake gets the correct C/C++ compilers
|
||||||
|
[ -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
|
||||||
|
|||||||
@ -8,7 +8,8 @@ targetType=libso
|
|||||||
# Source the wmake functions
|
# Source the wmake functions
|
||||||
. $WM_DIR/scripts/wmakeFunctions
|
. $WM_DIR/scripts/wmakeFunctions
|
||||||
|
|
||||||
# C++ compiler for CMake
|
# ensure CMake gets the correct C/C++ compilers
|
||||||
|
[ -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
|
||||||
|
|||||||
@ -18,9 +18,9 @@ echo
|
|||||||
|
|
||||||
if [ -d "$VTK_DIR" -o -d "$ParaView_DIR" ]
|
if [ -d "$VTK_DIR" -o -d "$ParaView_DIR" ]
|
||||||
then
|
then
|
||||||
# ensure CMake gets the correct C++ compiler
|
# ensure CMake gets the correct C/C++ compilers
|
||||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
|
||||||
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
||||||
|
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||||
|
|
||||||
if type cmake > /dev/null 2>&1
|
if type cmake > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user