Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add local tests with pipol.
[simgrid.git] / buildtools / Cmake / gras_config.h.in
index 7902f1b..15a1e35 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__
@@ -20,8 +24,6 @@
 #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@
 
 /* Set to true if enable_model-checking is true */
 #cmakedefine MMALLOC_WANT_OVERIDE_LEGACY @MMALLOC_WANT_OVERIDE_LEGACY@