From d0795cfec9d6e5a23f876f8dd94edf97ad39f1f1 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 4 Apr 2015 20:48:29 +0000 Subject: [PATCH] report OCC version --- Common/CommandLine.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Common/CommandLine.cpp b/Common/CommandLine.cpp index b7b9060a67..b62f8c3b56 100644 --- a/Common/CommandLine.cpp +++ b/Common/CommandLine.cpp @@ -33,6 +33,10 @@ #include "petsc.h" #endif +#if defined(HAVE_OCC) +#include <Standard_Version.hxx> +#endif + #if defined(HAVE_POST) #include "PView.h" #endif @@ -932,6 +936,10 @@ void GetOptions(int argc, char *argv[]) #else fprintf(stderr, "PETSc arithmetic : Real\n"); #endif +#endif +#if defined(HAVE_OCC) + fprintf(stderr, "OCC version : %d.%d.%d\n", OCC_VERSION_MAJOR, + OCC_VERSION_MINOR, OCC_VERSION_MAINTENANCE); #endif fprintf(stderr, "Packaged by : %s\n", GMSH_PACKAGER); fprintf(stderr, "Web site : http://www.geuz.org/gmsh/\n"); -- GitLab