Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
38f08b6e
Commit
38f08b6e
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
d6777b61
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/misc/variables.msvc
+36
-3
36 additions, 3 deletions
utils/misc/variables.msvc
with
36 additions
and
3 deletions
utils/misc/variables.msvc
+
36
−
3
View file @
38f08b6e
# This is a pre-filled variables file for building a blackbox version
# This is a pre-filled variables file for building a blackbox version
# of Gmsh with Microsoft Visual C++ (MSVC).
# of Gmsh with Microsoft Visual C++ (MSVC).
#
#
# This has been tested with MSVC 2003
and MSVC
2008.
See
# This has been tested with MSVC 2003
, 2005 and
2008. See
# doc/README.msvc for building instructions.
# doc/README.msvc for building instructions.
##################################################################
# Change the following to select which version to build:
ENABLE_GUI=0
ENABLE_POSTPRO=1
ENABLE_TETGEN=1
ENABLE_NETGEN=0
ENABLE_OCC=0
##################################################################
# OS and host
# OS and host
UNAME=WIN32MSVC
UNAME=WIN32MSVC
HOSTNAME=localhost
HOSTNAME=localhost
...
@@ -32,7 +43,7 @@ endif
...
@@ -32,7 +43,7 @@ endif
LINKER=cl /F16777216
LINKER=cl /F16777216
# All compiler flags except optimization flags
# 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_ANN /DHAVE_MATH_EVAL
/DHAVE_TETGEN
FLAGS=/DWIN32 /D_USE_MATH_DEFINES /DHAVE_NO_DLL /DHAVE_NO_VSNPRINTF /DHAVE_NO_SNPRINTF /DHAVE_NO_SOCKLEN_T /DHAVE_ANN /DHAVE_MATH_EVAL
# Additional system includes ($INCLUDE is automatically defined by MSVC when
# Additional system includes ($INCLUDE is automatically defined by MSVC when
# you launch the MSVC command prompt)
# you launch the MSVC command prompt)
...
@@ -42,11 +53,33 @@ SYSINCLUDE=/I"${INCLUDE}"
...
@@ -42,11 +53,33 @@ SYSINCLUDE=/I"${INCLUDE}"
OPTIM=/O2
OPTIM=/O2
# Gmsh subdirectories
# Gmsh subdirectories
GMSH_DIRS=Common Geo Mesh
Post
Numeric Parser
Plugin
contrib/ANN contrib/MathEval contrib/NR
contrib/Tetgen
GMSH_DIRS=Common Geo Mesh Numeric Parser contrib/ANN contrib/MathEval contrib/NR
# Gmsh libraries
# Gmsh libraries
GMSH_LIBS=Common/Main.obj lib/*.lib
GMSH_LIBS=Common/Main.obj lib/*.lib
# Optional stuff
ifeq (${ENABLE_POSTPRO},1)
GMSH_DIRS+=Post Plugin
else
FLAGS+=/DHAVE_NO_POST
endif
ifeq (${ENABLE_GUI},1)
GMSH_DIRS+=Graphics Fltk
FLAGS+=/DHAVE_FLTK
endif
ifeq (${ENABLE_NETGEN},1)
FLAGS+=/DHAVE_NETGEN
GMSH_DIRS+=contrib/Netgen
endif
ifeq (${ENABLE_TETGEN},1)
FLAGS+=/DHAVE_TETGEN
GMSH_DIRS+=contrib/Tetgen
endif
ifeq (${ENABLE_OCC},1)
FLAGS+=/DHAVE_OCC /DHAVE_NO_OCC_CONFIG_H /DWNT /IC:/OpenCASCADE6.2.0/ros/inc
endif
# How you create a static library on this machine
# How you create a static library on this machine
AR=LIB
AR=LIB
ARFLAGS=/OUT:
ARFLAGS=/OUT:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment