Skip to content
Snippets Groups Projects
Commit 4e8b6636 authored by Claudine Bon's avatar Claudine Bon
Browse files

mods for VC2005

parent ded72978
Branches
Tags
No related merge requests found
# $Id: Makefile,v 1.49 2008-06-05 13:58:43 geuzaine Exp $ # $Id: Makefile,v 1.50 2008-06-05 14:26:09 samtech Exp $
# #
# Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
# #
...@@ -23,7 +23,7 @@ include ../variables ...@@ -23,7 +23,7 @@ include ../variables
LIB = ../lib/libGmshDataStr${LIBEXT} LIB = ../lib/libGmshDataStr${LIBEXT}
INC = ${DASH}I../Common INC = ${DASH}I../DataStr ${DASH}I../Common
CFLAGS = ${OPTIM} ${FLAGS} ${INC} ${SYSINCLUDE} CFLAGS = ${OPTIM} ${FLAGS} ${INC} ${SYSINCLUDE}
......
# $Id: Makefile,v 1.156 2008-06-05 13:58:44 geuzaine Exp $ # $Id: Makefile,v 1.157 2008-06-05 14:26:09 samtech Exp $
# #
# Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
# #
...@@ -23,7 +23,7 @@ include ../variables ...@@ -23,7 +23,7 @@ include ../variables
LIB = ../lib/libGmshParser${LIBEXT} LIB = ../lib/libGmshParser${LIBEXT}
INC = ${DASH}I../Common ${DASH}I../DataStr ${DASH}I../Geo ${DASH}I../Mesh\ INC = ${DASH}I../Parser ${DASH}I../Common ${DASH}I../DataStr ${DASH}I../Geo ${DASH}I../Mesh\
${DASH}I../Post ${DASH}I../Graphics ${DASH}I../Numeric ${DASH}I../Fltk\ ${DASH}I../Post ${DASH}I../Graphics ${DASH}I../Numeric ${DASH}I../Fltk\
${DASH}I../Plugin ${DASH}I../contrib/ANN/include ${DASH}I../Plugin ${DASH}I../contrib/ANN/include
......
# $Id: Makefile,v 1.13 2008-04-23 23:00:40 geuzaine Exp $ # $Id: Makefile,v 1.14 2008-06-05 14:26:09 samtech Exp $
# #
# Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
# #
...@@ -23,7 +23,7 @@ include ../../variables ...@@ -23,7 +23,7 @@ include ../../variables
LIB = ../../lib/libGmshNR${LIBEXT} LIB = ../../lib/libGmshNR${LIBEXT}
INC = ${DASH}I../../Common ${DASH}I../../DataStr ${DASH}I../../Numeric INC = ${DASH}I../NR ${DASH}I../../Common ${DASH}I../../DataStr ${DASH}I../../Numeric
# don't optimize this library: there are some problems with gcc... # don't optimize this library: there are some problems with gcc...
CFLAGS = ${FLAGS} ${INC} ${SYSINCLUDE} CFLAGS = ${FLAGS} ${INC} ${SYSINCLUDE}
......
# This is a pre-filled variables file for building a blackbox version
# of Gmsh with Microsoft Visual C++ (MSVC).
#
# This has been tested with MSVC 2003 and MSVC 2008. See
# doc/README.msvc for building instructions.
# OS and host
UNAME=WIN32MSVC
HOSTNAME=localhost
# The names of the C and C++ compilers
CC=cl
CXX=cl /EHsc /nologo /GR /MT
# Use /MLd for single-thread debug mode
# /MTd for multi-thread debug mode
# /MT for multi-thread release mode
# increase stack size to 16Mb to avoid stack overflows in recursive
# tet classification for large 3D Delaunay grids
LINKER=cl /F16777216
# All compiler flags except optimization flags
FLAGS=/DWIN32 /D_USE_MATH_DEFINES /DHAVE_NO_DLL /DHAVE_NO_VSNPRINTF /DHAVE_NO_SNPRINTF /DHAVE_NO_SOCKLEN_T /DHAVE_NO_POST /DHAVE_OCC /DWNT /IC:/OpenCascade6.2.0/ros/inc
# Additional system includes ($INCLUDE is automatically defined by MSVC when
# you launch the MSVC command prompt)
SYSINCLUDE=/I"${INCLUDE}"
# Compiler optimization flags
OPTIM=/O2
# Gmsh subdirectories
GMSH_DIRS=Common DataStr Geo Mesh Numeric Parser contrib/NR
# Gmsh libraries
OCC_LIBS="-lTKSTEP -lTKSTEP209 -lTKSTEPAttr -lTKSTEPBase -lTKIGES -lTKXSBase -lTKOffset -lTKFeat -lTKFillet -lTKBool -lTKShHealing -lTKMesh -lTKHLR -lTKBO -lTKPrim -lTKTopAlgo -lTKGeomAlgo -lTKBRep -lTKGeomBase -lTKG3d -lTKG2d -lTKAdvTools -lTKMath -lTKernel"
GMSH_LIBS=Common/Main.obj lib/*.lib
# How you create a static library on this machine
AR=LIB
ARFLAGS=/OUT:
RANLIB=true
# The symbol used in front of compiler flags
DASH=/
# The extension to use for object files, libraries and executables
OBJEXT=.obj
LIBEXT=.lib
EXEEXT=.exe
# Installation directories
prefix="S:\Lib\gmsh"
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
datadir=${datarootdir}
datarootdir=${prefix}/share
includedir=${prefix}/include
libdir=${exec_prefix}/lib
mandir=${datarootdir}/man
infodir=${datarootdir}/info
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment