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
e982e3fa
Commit
e982e3fa
authored
11 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
more info
parent
4bfaf70d
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+0
-2
0 additions, 2 deletions
CMakeLists.txt
Common/CommandLine.cpp
+13
-9
13 additions, 9 deletions
Common/CommandLine.cpp
Fltk/helpWindow.cpp
+16
-2
16 additions, 2 deletions
Fltk/helpWindow.cpp
with
29 additions
and
13 deletions
CMakeLists.txt
+
0
−
2
View file @
e982e3fa
...
@@ -1669,8 +1669,6 @@ message(STATUS " * C compiler: " ${CMAKE_C_COMPILER})
...
@@ -1669,8 +1669,6 @@ message(STATUS " * C compiler: " ${CMAKE_C_COMPILER})
message
(
STATUS
" * C++ compiler: "
${
CMAKE_CXX_COMPILER
}
)
message
(
STATUS
" * C++ compiler: "
${
CMAKE_CXX_COMPILER
}
)
message
(
STATUS
" * Install prefix: "
${
CMAKE_INSTALL_PREFIX
}
)
message
(
STATUS
" * Install prefix: "
${
CMAKE_INSTALL_PREFIX
}
)
message
(
STATUS
""
)
message
(
STATUS
""
)
message
(
STATUS
"Run 'ccmake
${
CMAKE_CURRENT_SOURCE_DIR
}
' to fine-tune the configuration."
)
message
(
STATUS
""
)
mark_as_advanced
(
GMSH_EXTRA_VERSION
mark_as_advanced
(
GMSH_EXTRA_VERSION
ACIS_LIB ANN_INC ANN_LIB CAIRO_LIB CAIRO_INC CGNS_INC GMM_INC
ACIS_LIB ANN_INC ANN_LIB CAIRO_LIB CAIRO_INC CGNS_INC GMM_INC
...
...
This diff is collapsed.
Click to expand it.
Common/CommandLine.cpp
+
13
−
9
View file @
e982e3fa
...
@@ -28,6 +28,10 @@
...
@@ -28,6 +28,10 @@
#endif
#endif
#endif
#endif
#if defined(HAVE_PETSC)
#include
"petsc.h"
#endif
#if defined(HAVE_POST)
#if defined(HAVE_POST)
#include
"PView.h"
#include
"PView.h"
#endif
#endif
...
@@ -912,25 +916,25 @@ void GetOptions(int argc, char *argv[])
...
@@ -912,25 +916,25 @@ void GetOptions(int argc, char *argv[])
}
}
else
if
(
!
strcmp
(
argv
[
i
]
+
1
,
"info"
)
||
!
strcmp
(
argv
[
i
]
+
1
,
"-info"
))
{
else
if
(
!
strcmp
(
argv
[
i
]
+
1
,
"info"
)
||
!
strcmp
(
argv
[
i
]
+
1
,
"-info"
))
{
fprintf
(
stderr
,
"Version : %s
\n
"
,
GMSH_VERSION
);
fprintf
(
stderr
,
"Version : %s
\n
"
,
GMSH_VERSION
);
fprintf
(
stderr
,
"License : %s
\n
"
,
GMSH_SHORT_LICENSE
);
fprintf
(
stderr
,
"Build OS : %s
\n
"
,
GMSH_OS
);
fprintf
(
stderr
,
"Build date : %s
\n
"
,
GMSH_DATE
);
fprintf
(
stderr
,
"Build host : %s
\n
"
,
GMSH_HOST
);
fprintf
(
stderr
,
"Build options :%s
\n
"
,
GMSH_CONFIG_OPTIONS
);
#if defined(HAVE_FLTK)
#if defined(HAVE_FLTK)
fprintf
(
stderr
,
"
GUI toolkit
:
FLTK
%d.%d.%d
\n
"
,
FL_MAJOR_VERSION
,
fprintf
(
stderr
,
"
FLTK version
: %d.%d.%d
\n
"
,
FL_MAJOR_VERSION
,
FL_MINOR_VERSION
,
FL_PATCH_VERSION
);
FL_MINOR_VERSION
,
FL_PATCH_VERSION
);
#else
fprintf
(
stderr
,
"GUI toolkit : none
\n
"
);
#endif
#endif
#if defined(HAVE_PETSC)
#if defined(HAVE_PETSC)
fprintf
(
stderr
,
"PETSc version : %d.%d.%d
\n
"
,
PETSC_VERSION_MAJOR
,
PETSC_VERSION_MINOR
,
PETSC_VERSION_SUBMINOR
);
#if defined(PETSC_USE_COMPLEX)
#if defined(PETSC_USE_COMPLEX)
fprintf
(
stderr
,
"PETSc arithmetic : Complex
\n
"
);
fprintf
(
stderr
,
"PETSc arithmetic : Complex
\n
"
);
#else
#else
fprintf
(
stderr
,
"PETSc arithmetic : Real
\n
"
);
fprintf
(
stderr
,
"PETSc arithmetic : Real
\n
"
);
#endif
#endif
#endif
#endif
fprintf
(
stderr
,
"License : %s
\n
"
,
GMSH_SHORT_LICENSE
);
fprintf
(
stderr
,
"Packaged by : %s
\n
"
,
GMSH_PACKAGER
);
fprintf
(
stderr
,
"Build OS : %s
\n
"
,
GMSH_OS
);
fprintf
(
stderr
,
"Build options :%s
\n
"
,
GMSH_CONFIG_OPTIONS
);
fprintf
(
stderr
,
"Build date : %s
\n
"
,
GMSH_DATE
);
fprintf
(
stderr
,
"Build host : %s
\n
"
,
GMSH_HOST
);
fprintf
(
stderr
,
"Packager : %s
\n
"
,
GMSH_PACKAGER
);
fprintf
(
stderr
,
"Web site : http://www.geuz.org/gmsh/
\n
"
);
fprintf
(
stderr
,
"Web site : http://www.geuz.org/gmsh/
\n
"
);
fprintf
(
stderr
,
"Mailing list : gmsh@geuz.org
\n
"
);
fprintf
(
stderr
,
"Mailing list : gmsh@geuz.org
\n
"
);
Msg
::
Exit
(
0
);
Msg
::
Exit
(
0
);
...
...
This diff is collapsed.
Click to expand it.
Fltk/helpWindow.cpp
+
16
−
2
View file @
e982e3fa
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
#include
<FL/Fl_Input.H>
#include
<FL/Fl_Input.H>
#include
<FL/Fl_Value_Input.H>
#include
<FL/Fl_Value_Input.H>
#include
<FL/Fl_Color_Chooser.H>
#include
<FL/Fl_Color_Chooser.H>
#include
"GmshConfig.h"
#include
"FlGui.h"
#include
"FlGui.h"
#include
"helpWindow.h"
#include
"helpWindow.h"
#include
"paletteWindow.h"
#include
"paletteWindow.h"
...
@@ -21,6 +22,10 @@
...
@@ -21,6 +22,10 @@
#include
"Context.h"
#include
"Context.h"
#include
"drawContext.h"
#include
"drawContext.h"
#if defined(HAVE_PETSC)
#include
"petsc.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
);
...
@@ -294,12 +299,21 @@ helpWindow::helpWindow()
...
@@ -294,12 +299,21 @@ helpWindow::helpWindow()
<<
"<p>Please send all questions and bug reports to "
<<
"<p>Please send all questions and bug reports to "
<<
"<a href=
\"
mailto:gmsh@geuz.org
\"
>gmsh@geuz.org</a></center>"
<<
"<a href=
\"
mailto:gmsh@geuz.org
\"
>gmsh@geuz.org</a></center>"
<<
"<ul>"
<<
"<ul>"
<<
"<li><i>GUI toolkit:</i> FLTK "
<<
FL_MAJOR_VERSION
<<
"."
<<
FL_MINOR_VERSION
<<
"."
<<
FL_PATCH_VERSION
<<
"<li><i>Build OS:</i> "
<<
GetGmshBuildOS
()
<<
"<li><i>Build OS:</i> "
<<
GetGmshBuildOS
()
<<
"<li><i>Build date:</i> "
<<
GetGmshBuildDate
()
<<
"<li><i>Build date:</i> "
<<
GetGmshBuildDate
()
<<
"<li><i>Build host:</i> "
<<
GetGmshBuildHost
()
<<
"<li><i>Build host:</i> "
<<
GetGmshBuildHost
()
<<
"<li><i>Build options:</i>"
<<
GetGmshBuildOptions
()
<<
"<li><i>Build options:</i>"
<<
GetGmshBuildOptions
()
<<
"<li><i>FLTK version:</i> "
<<
FL_MAJOR_VERSION
<<
"."
<<
FL_MINOR_VERSION
<<
"."
<<
FL_PATCH_VERSION
#if defined(HAVE_PETSC)
<<
"<li>PETSc version: "
<<
PETSC_VERSION_MAJOR
<<
"."
<<
PETSC_VERSION_MINOR
<<
"."
<<
PETSC_VERSION_SUBMINOR
#if defined(PETSC_USE_COMPLEX)
<<
"<li>PETSc arithmetic: Complex"
#else
<<
"<li>PETSc arithmetic: Real"
#endif
#endif
<<
"<li><i>Packaged by:</i> "
<<
GetGmshPackager
()
<<
"<li><i>Packaged by:</i> "
<<
GetGmshPackager
()
<<
"</ul>"
<<
"</ul>"
<<
"<center>Visit <a href=
\"
http://geuz.org/gmsh/
\"
>http://geuz.org/gmsh/</a> "
<<
"<center>Visit <a href=
\"
http://geuz.org/gmsh/
\"
>http://geuz.org/gmsh/</a> "
...
...
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