A first step towards porting these: Paraview and Tecplot. Not complete

--HG--
branch : bgschaidMac
This commit is contained in:
Bernhard F.W. Gschaider 2010-10-02 22:38:03 +02:00
parent 7b17fa2094
commit 871948d1aa
3 changed files with 8 additions and 2 deletions

View file

@ -648,7 +648,8 @@
defined LINUXI64 || \
defined LINUX64 || \
defined MAC64 || \
defined COMPAQALPHA
defined COMPAQALPHA || \
defined darwin
#define LONGIS64
#endif

View file

@ -373,7 +373,7 @@
#define SYSV
#endif
#if defined DECX || defined LINUX || defined IBMRS6000X || defined COMPAQX || defined DARWIN
#if defined DECX || defined LINUX || defined IBMRS6000X || defined COMPAQX || defined DARWIN || defined darwin
#define UNIXX
#endif

View file

@ -12,6 +12,11 @@ then
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
cd Make/$WM_OPTIONS
cmake ../..
if [ $WM_ARCH_BASE == "darwin" ]
then
sed -i bak -e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles/PV3FoamReader.dir/link.txt
sed -i bak -e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles/PV3FoamReader_SM.dir/link.txt
fi
make
)
;;