From 4955b56f55965bc543837adde20b9bab5808dd22 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sat, 27 Jun 2009 08:37:46 +0000
Subject: [PATCH] *** empty log message ***

---
 Makefile                    |  2 +-
 utils/api_demos/mainOcc.cpp | 16 ++++++++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 72ffb8b346..15e224d64c 100644
--- a/Makefile
+++ b/Makefile
@@ -262,7 +262,7 @@ source-tree: purge
 
 source: source-tree
 	cd gmsh-${GMSH_VERSION} && rm -rf ${GMSH_VERSION_FILE}\
-          Common/GmshConfig.h contrib/Tetgen/*.{cxx,h}\
+          Common/GmshConfig.h contrib/Tetgen*/*.{cxx,h}\
           utils/nightly utils/misc/variables.i*
 	tar zcf gmsh-${GMSH_VERSION}-source.tgz gmsh-${GMSH_VERSION}
 
diff --git a/utils/api_demos/mainOcc.cpp b/utils/api_demos/mainOcc.cpp
index 8a6780355a..733fc8f7e9 100644
--- a/utils/api_demos/mainOcc.cpp
+++ b/utils/api_demos/mainOcc.cpp
@@ -1,4 +1,16 @@
-// g++ -I/usr/local/opencascade/inc driverOCC.cpp -lGmsh -L/usr/local/opencascade/lib -lTKSTEP -lTKSTEP209 -lTKSTEPAttr -lTKSTEPBase -lTKIGES -lTKXSBase -lTKOffset -lTKFeat -lTKFillet -lTKBool -lTKShHealing -lTKMesh -lTKHLR -lTKBO -lTKPrim -lTKTopAlgo -lTKGeomAlgo -lTKBRep -lTKGeomBase -lTKG3d -lTKG2d -lTKAdvTools -lTKMath -lTKernel -lm
+// This demonstrates how to import an OpenCascade model WITHOUT using
+// Gmsh's own I/O layer (useful if you create OCC objects in your own
+// code, that you want to import dynamically in Gmsh).
+//
+// If you just want to load OpenCascade files (.brep, .step, etc.) you
+// SHOULD NOT use this interface: simply use the standard I/O API.
+
+// g++ -I/usr/local/opencascade/inc driverOCC.cpp -lGmsh
+// -L/usr/local/opencascade/lib -lTKSTEP -lTKSTEP209 -lTKSTEPAttr
+// -lTKSTEPBase -lTKIGES -lTKXSBase -lTKOffset -lTKFeat -lTKFillet
+// -lTKBool -lTKShHealing -lTKMesh -lTKHLR -lTKBO -lTKPrim -lTKTopAlgo
+// -lTKGeomAlgo -lTKBRep -lTKGeomBase -lTKG3d -lTKG2d -lTKAdvTools
+// -lTKMath -lTKernel -lm
 
 #include <stdio.h>
 #include <gmsh/Gmsh.h>
@@ -53,7 +65,7 @@ int main(int argc, char **argv)
   GmshSetMessageHandler(&c);
 
   // import the shape, and mesh it
-  m.importOCCShape((void*)&shape, 0);
+  m.importOCCShape((void*)&shape);
   try{
     m.mesh(2);
   }
-- 
GitLab