Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix error detection of f2c.
[simgrid.git] / buildtools / Cmake / gras_config.h.in
index 7902f1b..5f12493 100644 (file)
@@ -6,7 +6,11 @@
 #ifdef _XBT_DLL_EXPORT
        #define DLL_EXPORT
 #else
-       #define DLL_IMPORT
+       #ifdef _XBT_DLL_STATIC
+               #define DLL_STATIC
+       #else
+               #define DLL_IMPORT
+       #endif
 #endif
 
 #ifndef __STRICT_ANSI__
 #ifndef _MSC_VER
        #cmakedefine _MSC_VER @_MSC_VER@
 #endif
+#ifndef _M_IX86
+       #cmakedefine _M_IX86 @_M_IX86@
+#endif
 #cmakedefine _XBT_WIN32 @_XBT_WIN32@   //this variable is set if it is a windows platform
 #cmakedefine _WIN32 @_WIN32@                   //this variable is set if it is a 32 bits windows platform
 #cmakedefine _WIN64 @_WIN64@                   //this variable is set if it is a 64 bits  windows platform
 #cmakedefine __VISUALC__ @__VISUALC__@
 #cmakedefine __BORLANDC__ @__BORLANDC__@
-#cmakedefine _XBT_VISUALC_COMPILER @_XBT_VISUALC_COMPILER@
-#cmakedefine _XBT_BORLANDC_COMPILER @_XBT_BORLANDC_COMPILER@
-
+#ifdef _XBT_WIN32
+       #ifndef __GNUC__
+               #cmakedefine __GNUC__ @__GNUC__@
+       #endif
+#endif
 /* Set to true if enable_model-checking is true */
 #cmakedefine MMALLOC_WANT_OVERIDE_LEGACY @MMALLOC_WANT_OVERIDE_LEGACY@
 #cmakedefine HAVE_MC @HAVE_MC@
 
+/* Set to true if lib pcre is present */
+#cmakedefine HAVE_PCRE_LIB @HAVE_PCRE_LIB@
+
+/* Some variable for graphviz */
+#cmakedefine HAVE_GRAPH_H @GRAPH_H@
+#cmakedefine HAVE_CGRAPH_H @CGRAPH_H@
+#cmakedefine HAVE_AGRAPH_H @AGRAPH_H@
+
+/* Some variables needed for smpi */
+#cmakedefine HAVE_SMPI_F2C_H @HAVE_SMPI_F2C_H@
+
 /* Define if building universal (internal helper macro) */
 #cmakedefine AC_APPLE_UNIVERSAL_BUILD @AC_APPLE_UNIVERSAL_BUILD@
 
 /* Tracing SimGrid */
 #cmakedefine HAVE_TRACING @HAVE_TRACING@
 
+/* Tracking of latency bound */
+#cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
+
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
    significant byte first (like Motorola and SPARC, unlike Intel). */
 #if defined AC_APPLE_UNIVERSAL_BUILD