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
4498346a
Commit
4498346a
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
e53b31a3
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Fltk/GmshServer.h
+1
-1
1 addition, 1 deletion
Fltk/GmshServer.h
contrib/MathEval/Makefile
+1
-1
1 addition, 1 deletion
contrib/MathEval/Makefile
lib/Makefile
+2
-0
2 additions, 0 deletions
lib/Makefile
utils/misc/variables.msvc
+24
-9
24 additions, 9 deletions
utils/misc/variables.msvc
with
28 additions
and
11 deletions
Fltk/GmshServer.h
+
1
−
1
View file @
4498346a
...
@@ -140,7 +140,7 @@ class GmshServer {
...
@@ -140,7 +140,7 @@ class GmshServer {
}
}
else
{
else
{
// TCP/IP socket
// TCP/IP socket
char
*
port
=
strstr
(
_sockname
,
":"
);
const
char
*
port
=
strstr
(
_sockname
,
":"
);
_portno
=
atoi
(
port
+
1
);
_portno
=
atoi
(
port
+
1
);
}
}
...
...
This diff is collapsed.
Click to expand it.
contrib/MathEval/Makefile
+
1
−
1
View file @
4498346a
...
@@ -38,7 +38,7 @@ parser:
...
@@ -38,7 +38,7 @@ parser:
flex
-oscanner
.yy.cpp
-Pme
scanner.l
flex
-oscanner
.yy.cpp
-Pme
scanner.l
clean
:
clean
:
rm
-f
*
.o
*
.obj
${
RM
}
*
.o
*
.obj
depend
:
depend
:
(
sed
'/^# DO NOT DELETE THIS LINE/q'
Makefile
&&
\
(
sed
'/^# DO NOT DELETE THIS LINE/q'
Makefile
&&
\
...
...
This diff is collapsed.
Click to expand it.
lib/Makefile
+
2
−
0
View file @
4498346a
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
# See the LICENSE.txt file for license information. Please report all
# See the LICENSE.txt file for license information. Please report all
# bugs and problems to <gmsh@geuz.org>.
# bugs and problems to <gmsh@geuz.org>.
include
../variables
clean
:
clean
:
${
RM
}
*
.a
*
.lib
${
RM
}
*
.a
*
.lib
This diff is collapsed.
Click to expand it.
utils/misc/variables.msvc
+
24
−
9
View file @
4498346a
...
@@ -8,6 +8,9 @@
...
@@ -8,6 +8,9 @@
##################################################################
##################################################################
# Specify where gmake is installed
MAKE=C:\msys\1.0\home\Administrator\src\gmsh\gmake.exe
# Change the following to select which version to build:
# Change the following to select which version to build:
ENABLE_GUI=0
ENABLE_GUI=0
ENABLE_PARSER=1
ENABLE_PARSER=1
...
@@ -16,6 +19,12 @@ ENABLE_TETGEN=1
...
@@ -16,6 +19,12 @@ ENABLE_TETGEN=1
ENABLE_NETGEN=0
ENABLE_NETGEN=0
ENABLE_OCC=0
ENABLE_OCC=0
# If you selected ENABLE_GUI, specify where FLTK is installed
FLTK_PREFIX=C:\msys\1.0\home\Administrator\src\fltk-1.1.9
# If you selected ENABLE_OCC, specify where OpenCASCADE is insalled
OCC_PREFIX=C:\OpenCASCADE6.3.0\ros
##################################################################
##################################################################
# OS and host
# OS and host
...
@@ -46,7 +55,8 @@ endif
...
@@ -46,7 +55,8 @@ 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_SOCKLEN_T /DHAVE_ANN /DHAVE_MATH_EVAL
FLAGS=/DWIN32 /D_USE_MATH_DEFINES /DHAVE_NO_DLL /DHAVE_NO_SOCKLEN_T
FLAGS+=/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)
...
@@ -58,9 +68,6 @@ OPTIM=/O2
...
@@ -58,9 +68,6 @@ OPTIM=/O2
# Gmsh subdirectories
# Gmsh subdirectories
GMSH_DIRS=Common Geo Mesh Numeric contrib/ANN contrib/MathEval contrib/NR
GMSH_DIRS=Common Geo Mesh Numeric contrib/ANN contrib/MathEval contrib/NR
# Gmsh libraries
GMSH_LIBS=Common/Main.obj lib/*.lib
# Optional stuff
# Optional stuff
ifeq (${ENABLE_PARSER},1)
ifeq (${ENABLE_PARSER},1)
GMSH_DIRS+=Parser
GMSH_DIRS+=Parser
...
@@ -72,10 +79,6 @@ ifeq (${ENABLE_POSTPRO},1)
...
@@ -72,10 +79,6 @@ ifeq (${ENABLE_POSTPRO},1)
else
else
FLAGS+=/DHAVE_NO_POST
FLAGS+=/DHAVE_NO_POST
endif
endif
ifeq (${ENABLE_GUI},1)
GMSH_DIRS+=Graphics Fltk
FLAGS+=/DHAVE_FLTK
endif
ifeq (${ENABLE_NETGEN},1)
ifeq (${ENABLE_NETGEN},1)
FLAGS+=/DHAVE_NETGEN
FLAGS+=/DHAVE_NETGEN
GMSH_DIRS+=contrib/Netgen
GMSH_DIRS+=contrib/Netgen
...
@@ -85,7 +88,19 @@ ifeq (${ENABLE_TETGEN},1)
...
@@ -85,7 +88,19 @@ ifeq (${ENABLE_TETGEN},1)
GMSH_DIRS+=contrib/Tetgen
GMSH_DIRS+=contrib/Tetgen
endif
endif
ifeq (${ENABLE_OCC},1)
ifeq (${ENABLE_OCC},1)
FLAGS+=/DHAVE_OCC /DHAVE_NO_OCC_CONFIG_H /DWNT /IC:/OpenCASCADE6.2.0/ros/inc
FLAGS+=/DHAVE_OCC /DHAVE_NO_OCC_CONFIG_H /DWNT /I"${OCC_PREFIX}/inc"
GMSH_LIBS+=${OCC_PREFIX}/lib/*.lib
endif
ifeq (${ENABLE_GUI},1)
LINKER+=/SUBSYSTEM:WINDOWS
GMSH_DIRS+=Graphics Fltk
FLAGS+=/DHAVE_FLTK /I"${FLTK_PREFIX}"
GMSH_LIBS+=Fltk/Main.obj lib/*.lib lib/*.lib ${FLTK_PREFIX}\lib\fltk*.lib
GMSH_LIBS+=glu32.lib opengl32.lib advapi32.lib gdi32.lib user32.lib shell32.lib ole32.lib uuid.lib comctl32.lib
GMSH_LIBS+=wsock32.lib winspool.lib ws2_32.lib Fltk/Win32Icon.res
else
GMSH_LIBS=Common/Main.obj lib/*.lib
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