[cgma-dev] r5988 - cgm/trunk/itaps
iulian at mcs.anl.gov
iulian at mcs.anl.gov
Fri Feb 8 18:21:47 CST 2013
Author: iulian
Date: 2013-02-08 18:21:46 -0600 (Fri, 08 Feb 2013)
New Revision: 5988
Modified:
cgm/trunk/itaps/testgeom.cc
Log:
in order for the CUBIT_MAJOR_API to be seen defined, config.h has to be included before iGeom.h in the test, too
this mechanism is not good for meshkit, because meshkit should not look at the config.h from cgm, that one should not be
installed, it is something that should be visible only by cgm build.
this fix at least lets testgeom to pass
Modified: cgm/trunk/itaps/testgeom.cc
===================================================================
--- cgm/trunk/itaps/testgeom.cc 2013-02-08 22:28:04 UTC (rev 5987)
+++ cgm/trunk/itaps/testgeom.cc 2013-02-09 00:21:46 UTC (rev 5988)
@@ -15,6 +15,11 @@
* \brief testgeom, a unit test for the TSTT geometry interface
*
*/
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "iGeom.h"
#include <iostream>
#include <set>
@@ -26,6 +31,8 @@
#include <assert.h>
#include <string.h>
#include <math.h>
+
+
#define CHECK( STR ) if (err != iBase_SUCCESS) return print_error( STR, err, geom, __FILE__, __LINE__ )
#define STRINGIFY(S) XSTRINGIFY(S)
More information about the cgma-dev
mailing list