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
1b3bc268
Commit
1b3bc268
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
71204f7d
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
+20
-7
20 additions, 7 deletions
utils/misc/variables.msvc
with
20 additions
and
7 deletions
utils/misc/variables.msvc
+
20
−
7
View file @
1b3bc268
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
MAKE=C:\src\gmsh\utils\misc\gmake.exe
MAKE=C:\src\gmsh\utils\misc\gmake.exe
# Change the following to select which version to build:
# Change the following to select which version to build:
ENABLE_GSL=
1
ENABLE_GSL=
0
ENABLE_GUI=0
ENABLE_GUI=0
ENABLE_PARSER=1
ENABLE_PARSER=1
ENABLE_POSTPRO=1
ENABLE_POSTPRO=1
...
@@ -20,6 +20,7 @@ ENABLE_TETGEN=1
...
@@ -20,6 +20,7 @@ ENABLE_TETGEN=1
ENABLE_NETGEN=0
ENABLE_NETGEN=0
ENABLE_METIS=1
ENABLE_METIS=1
ENABLE_OCC=0
ENABLE_OCC=0
ENABLE_MED=0
# If you selected ENABLE_GSL, specify where the GSL is installed
# If you selected ENABLE_GSL, specify where the GSL is installed
GSL_PREFIX=C:\src\gsl-1.8
GSL_PREFIX=C:\src\gsl-1.8
...
@@ -30,6 +31,10 @@ FLTK_PREFIX=C:\src\fltk-1.1.9
...
@@ -30,6 +31,10 @@ FLTK_PREFIX=C:\src\fltk-1.1.9
# If you selected ENABLE_OCC, specify where OpenCASCADE is insalled
# If you selected ENABLE_OCC, specify where OpenCASCADE is insalled
OCC_PREFIX=C:\src\OpenCASCADE6.3.0\ros
OCC_PREFIX=C:\src\OpenCASCADE6.3.0\ros
# If you selected ENABLE_MED, specify where MED and HDF5 are installed
MED_PREFIX=C:\src\med-2.3.4
HDF5_PREFIX=C:\src\hdf5-1.6.6
##################################################################
##################################################################
# OS and host
# OS and host
...
@@ -37,8 +42,8 @@ UNAME=WIN32MSVC
...
@@ -37,8 +42,8 @@ UNAME=WIN32MSVC
HOSTNAME=localhost
HOSTNAME=localhost
# The names of the C and C++ compilers
# The names of the C and C++ compilers
CC=cl /nologo /MT
d
CC=cl /nologo /MT
CXX=cl /EHsc /nologo /GR /MT
d
CXX=cl /EHsc /nologo /GR /MT
# Debug/Release Single/Multi-threaded Lib/Dll flags:
# Debug/Release Single/Multi-threaded Lib/Dll flags:
# Rel-Sin-Lib: /ML
# Rel-Sin-Lib: /ML
...
@@ -105,18 +110,26 @@ ifeq (${ENABLE_OCC},1)
...
@@ -105,18 +110,26 @@ ifeq (${ENABLE_OCC},1)
FLAGS+=/DHAVE_OCC /DHAVE_NO_OCC_CONFIG_H /DWNT /I"${OCC_PREFIX}/inc"
FLAGS+=/DHAVE_OCC /DHAVE_NO_OCC_CONFIG_H /DWNT /I"${OCC_PREFIX}/inc"
GMSH_LIBS+=${OCC_PREFIX}/win32/bin/*.lib
GMSH_LIBS+=${OCC_PREFIX}/win32/bin/*.lib
endif
endif
ifeq (${ENABLE_MED},1)
FLAGS+=/DHAVE_MED /I"${HDF5_PREFIX}/include" /I"${MED_PREFIX}/include"
GMSH_LIBS+=${MED_PREFIX}/lib/med.lib
GMSH_LIBS+=${HDF5_PREFIX}/lib/hdf5.lib ${HDF5_PREFIX}/lib/szlib.lib
endif
ifeq (${ENABLE_GUI},1)
ifeq (${ENABLE_GUI},1)
GMSH_DIRS+=Graphics Fltk contrib/NativeFileChooser
GMSH_DIRS+=Graphics Fltk contrib/NativeFileChooser
FLAGS+=/DHAVE_FLTK /DHAVE_NATIVE_FILE_CHOOSER /I"${FLTK_PREFIX}"
FLAGS+=/DHAVE_FLTK /DHAVE_NATIVE_FILE_CHOOSER /I"${FLTK_PREFIX}"
GMSH_LIBS+=Fltk/Main.obj lib/*.lib ${FLTK_PREFIX}\lib\fltk*.lib
GMSH_LIBS+=Fltk/Main.obj lib/*.lib ${FLTK_PREFIX}\lib\fltk*.lib
GMSH_LIBS+=glu32.lib opengl32.lib advapi32.lib gdi32.lib user32.lib
GMSH_LIBS+=glu32.lib opengl32.lib advapi32.lib gdi32.lib user32.lib
GMSH_LIBS+=shell32.lib ole32.lib
uuid.lib
comctl32.lib comdlg32.lib
GMSH_LIBS+=shell32.lib ole32.lib comctl32.lib comdlg32.lib
ws2_32.lib
GMSH_LIBS+=
wsock32.lib winspool.lib ws2_32.lib
Fltk/Win32Icon.res
GMSH_LIBS+=Fltk/Win32Icon.res
GMSH_LIBS+=/link /
NODEFAULTLIB:libcmt.lib
/NODEFAULTLIB:msvcrt.lib
GMSH_LIBS+=/link /
manifest:no
/NODEFAULTLIB:msvcrt.lib
#
GMSH_LIBS+=/SUBSYSTEM:WINDOWS
GMSH_LIBS+=/SUBSYSTEM:WINDOWS
else
else
GMSH_LIBS+=Common/Main.obj lib/*.lib
GMSH_LIBS+=Common/Main.obj lib/*.lib
ifeq (${ENABLE_OCC},1)
GMSH_LIBS+=advapi32.lib user32.lib ws2_32.lib
endif
endif
endif
# How you create a static library on this machine
# How you create a static library on this machine
...
...
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