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
b5aff461
Commit
b5aff461
authored
10 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
report MED version
parent
53e1818a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Common/CommandLine.cpp
+8
-0
8 additions, 0 deletions
Common/CommandLine.cpp
Fltk/helpWindow.cpp
+10
-2
10 additions, 2 deletions
Fltk/helpWindow.cpp
with
18 additions
and
2 deletions
Common/CommandLine.cpp
+
8
−
0
View file @
b5aff461
...
@@ -37,6 +37,10 @@
...
@@ -37,6 +37,10 @@
#include
"Standard_Version.hxx"
#include
"Standard_Version.hxx"
#endif
#endif
#if defined(HAVE_MED)
#include
"med.h"
#endif
#if defined(HAVE_POST)
#if defined(HAVE_POST)
#include
"PView.h"
#include
"PView.h"
#endif
#endif
...
@@ -941,6 +945,10 @@ void GetOptions(int argc, char *argv[])
...
@@ -941,6 +945,10 @@ void GetOptions(int argc, char *argv[])
#if defined(HAVE_OCC)
#if defined(HAVE_OCC)
fprintf
(
stderr
,
"OCC version : %d.%d.%d
\n
"
,
OCC_VERSION_MAJOR
,
fprintf
(
stderr
,
"OCC version : %d.%d.%d
\n
"
,
OCC_VERSION_MAJOR
,
OCC_VERSION_MINOR
,
OCC_VERSION_MAINTENANCE
);
OCC_VERSION_MINOR
,
OCC_VERSION_MAINTENANCE
);
#endif
#if defined(HAVE_MED)
fprintf
(
stderr
,
"MED version : %d.%d.%d
\n
"
,
MED_NUM_MAJEUR
,
MED_NUM_MINEUR
,
MED_NUM_RELEASE
);
#endif
#endif
fprintf
(
stderr
,
"Packaged by : %s
\n
"
,
GMSH_PACKAGER
);
fprintf
(
stderr
,
"Packaged by : %s
\n
"
,
GMSH_PACKAGER
);
fprintf
(
stderr
,
"Web site : http://www.geuz.org/gmsh/
\n
"
);
fprintf
(
stderr
,
"Web site : http://www.geuz.org/gmsh/
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
Fltk/helpWindow.cpp
+
10
−
2
View file @
b5aff461
...
@@ -30,6 +30,10 @@
...
@@ -30,6 +30,10 @@
#include
"Standard_Version.hxx"
#include
"Standard_Version.hxx"
#endif
#endif
#if defined(HAVE_MED)
#include
"med.h"
#endif
static
const
char
*
help_link
(
Fl_Widget
*
w
,
const
char
*
uri
)
static
const
char
*
help_link
(
Fl_Widget
*
w
,
const
char
*
uri
)
{
{
fl_open_uri
(
uri
);
fl_open_uri
(
uri
);
...
@@ -283,7 +287,7 @@ helpWindow::helpWindow()
...
@@ -283,7 +287,7 @@ helpWindow::helpWindow()
{
{
{
{
int
width
=
28
*
FL_NORMAL_SIZE
;
int
width
=
28
*
FL_NORMAL_SIZE
;
int
height
=
1
8
*
BH
;
int
height
=
1
9
*
BH
;
about
=
new
paletteWindow
about
=
new
paletteWindow
(
width
,
height
,
CTX
::
instance
()
->
nonModalWindows
?
true
:
false
,
"About Gmsh"
);
(
width
,
height
,
CTX
::
instance
()
->
nonModalWindows
?
true
:
false
,
"About Gmsh"
);
...
@@ -295,7 +299,7 @@ helpWindow::helpWindow()
...
@@ -295,7 +299,7 @@ helpWindow::helpWindow()
o
->
box
(
FL_FLAT_BOX
);
o
->
box
(
FL_FLAT_BOX
);
std
::
ostringstream
sstream
;
std
::
ostringstream
sstream
;
sstream
<<
"<center><h3>Gmsh</h3><br>version "
<<
GetGmshVersion
()
sstream
<<
"<center><h3>Gmsh</h3><br>version "
<<
GetGmshVersion
()
<<
"<p>Copyright (C) 1997-201
4
"
<<
"<p>Copyright (C) 1997-201
5
"
<<
"<br>Christophe Geuzaine and Jean-Francois Remacle"
<<
"<br>Christophe Geuzaine and Jean-Francois Remacle"
<<
"<p><a href=
\"
http://geuz.org/gmsh/doc/CREDITS.txt
\"
>Credits</a> "
<<
"<p><a href=
\"
http://geuz.org/gmsh/doc/CREDITS.txt
\"
>Credits</a> "
<<
"and <a href=
\"
http://geuz.org/gmsh/doc/LICENSE.txt
\"
>licensing "
<<
"and <a href=
\"
http://geuz.org/gmsh/doc/LICENSE.txt
\"
>licensing "
...
@@ -321,6 +325,10 @@ helpWindow::helpWindow()
...
@@ -321,6 +325,10 @@ helpWindow::helpWindow()
#if defined(HAVE_OCC)
#if defined(HAVE_OCC)
<<
"<li><i>OCC version:</i> "
<<
OCC_VERSION_MAJOR
<<
"."
<<
"<li><i>OCC version:</i> "
<<
OCC_VERSION_MAJOR
<<
"."
<<
OCC_VERSION_MINOR
<<
"."
<<
OCC_VERSION_MAINTENANCE
<<
OCC_VERSION_MINOR
<<
"."
<<
OCC_VERSION_MAINTENANCE
#endif
#if defined(HAVE_MED)
<<
"<li><i>MED version:</i> "
<<
MED_NUM_MAJEUR
<<
"."
<<
MED_NUM_MINEUR
<<
"."
<<
MED_NUM_RELEASE
#endif
#endif
<<
"<li><i>Packaged by:</i> "
<<
GetGmshPackager
()
<<
"<li><i>Packaged by:</i> "
<<
GetGmshPackager
()
<<
"</ul>"
<<
"</ul>"
...
...
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