Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove option for pcre from cmake files and from sources.
[simgrid.git] / buildtools / Cmake / gras_config.h.in
index 5d0d6a2..9fa4ca4 100644 (file)
@@ -2,27 +2,58 @@
 // With Cmake it creates <root>/src/gras_config.h
 
 /* Set somes variables for Windows compilation */
+
+#ifdef _XBT_DLL_EXPORT
+       #define DLL_EXPORT
+#else
+       #ifdef _XBT_DLL_STATIC
+               #define DLL_STATIC
+       #else
+               #define DLL_IMPORT
+       #endif
+#endif
+
+#cmakedefine SIZEOF_INT @SIZEOF_INT@
+#cmakedefine SIZEOF_VOIDP @SIZEOF_VOIDP@
+
+/* If __thread is available */
+#cmakedefine HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@
+
 #ifndef __STRICT_ANSI__
        #cmakedefine __STRICT_ANSI__ @__STRICT_ANSI__@
 #endif
 #ifndef _MSC_VER
        #cmakedefine _MSC_VER @_MSC_VER@
 #endif
-#ifndef _WIN32
-       #cmakedefine _WIN32 @_WIN32@
+#ifndef _M_IX86
+       #cmakedefine _M_IX86 @_M_IX86@
 #endif
-#ifndef WIN32
-       #cmakedefine WIN32 @WIN32@
+#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 APPLE @APPLE@
+#ifdef _XBT_WIN32
+       #ifndef __GNUC__
+               #cmakedefine __GNUC__ @__GNUC__@
+       #endif
 #endif
-#ifdef _WIN32
-       #define DLL_EXPORT
-       #define __VISUALC__
-#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 have the mergesort function */
+#cmakedefine HAVE_MERGESORT @HAVE_MERGESORT@
+
+/* If have linux_futex.h */
+#cmakedefine HAVE_FUTEX_H @HAVE_FUTEX_H@
+
+/* Some variable for graphviz */
+#cmakedefine HAVE_GRAPH_H @GRAPH_H@
+#cmakedefine HAVE_CGRAPH_H @CGRAPH_H@
+#cmakedefine HAVE_AGRAPH_H @AGRAPH_H@
+
 /* Define if building universal (internal helper macro) */
 #cmakedefine AC_APPLE_UNIVERSAL_BUILD @AC_APPLE_UNIVERSAL_BUILD@
 
@@ -44,6 +75,9 @@
 /* Define if xbt contexts are based on our threads implementation or not */
 #cmakedefine CONTEXT_THREADS @CONTEXT_THREADS@
 
+/* Define to 1 if you have the <ucontext.h> header file. */
+#cmakedefine HAVE_UCONTEXT_H @HAVE_UCONTEXT_H@
+
 /* Define if xbt contexts are based on ucontext or not */
 #cmakedefine CONTEXT_UCONTEXT @CONTEXT_UCONTEXT@
 
 /* Predefined possible va_copy() implementation (id: GCM) */
 #cmakedefine __VA_COPY_USE_GCM(d, s) @__VA_COPY_USE_GCM@
 
+/* Used to select the flavor of assembly that we need today */
+#cmakedefine PROCESSOR_i686 @PROCESSOR_i686@
+#cmakedefine PROCESSOR_x86_64 @PROCESSOR_x86_64@
+#cmakedefine CMAKE_SYSTEM_PROCESSOR @CMAKE_SYSTEM_PROCESSOR@
+#cmakedefine HAVE_RAWCTX @HAVE_RAWCTX@
+
 /* Defined if arrays in struct can straddle struct alignment boundaries. This
    is like than the structure compaction above, but this time, the argument to
    be compacted is an array whom each element would be normally compacted.
 /* Indicates that we have GTNETS support */
 #cmakedefine HAVE_GTNETS @HAVE_GTNETS@
 
+/* Indicates that we have NS3 support */
+#cmakedefine HAVE_NS3 @HAVE_NS3@
+
 /* Define to 1 if you have the <inttypes.h> header file. */
 #cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
 
-/* defines whether Java bindings must be compiled or not */
-#cmakedefine HAVE_JAVA @HAVE_JAVA@
-
-/* Define to 1 if you have the <jni.h> header file. */
-#cmakedefine HAVE_JNI_H @HAVE_JNI_H@
-
-/* defines whether Ruby bindings must be compiled or not */
-#cmakedefine HAVE_RUBY @HAVE_RUBY@
-
 /* defines whether Lua bindings must be compiled or not */
 #cmakedefine HAVE_LUA @HAVE_LUA@
 
 /* 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
 #endif
 
 /* Define to `unsigned int' if <sys/types.h> does not define. */
-#cmakedefine size_t @size_t@
\ No newline at end of file
+#cmakedefine size_t @size_t@