SIMGRID_VERSION_MINOR, \
SIMGRID_VERSION_PATCH)
-/* take care of DLL usage madness */
-#ifdef _XBT_DLL_EXPORT
- #ifndef DLL_EXPORT
- #define DLL_EXPORT
- #endif
-#else
- #ifndef DLL_EXPORT
- #define DLL_IMPORT
- #endif
-#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__@
-#ifdef _XBT_WIN32
- #ifndef __GNUC__
- #cmakedefine __GNUC__ @__GNUC__@
- #endif
-#endif
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
if(MSVC)
set_target_properties(simgrid PROPERTIES
- COMPILE_FLAGS "/D_XBT_DLL_EXPORT /DDLL_EXPORT"
+ COMPILE_FLAGS "/DDLL_EXPORT"
VERSION ${libsimgrid_version} )
else()
set_target_properties(simgrid PROPERTIES
- COMPILE_FLAGS "-D_XBT_DLL_EXPORT -DDLL_EXPORT"
+ COMPILE_FLAGS "-DDLL_EXPORT"
LINK_FLAGS "-shared"
VERSION ${libsimgrid_version}
PREFIX "lib" SUFFIX ".dll"
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-/* Set somes variables for Windows compilation */
-
-#ifdef _XBT_DLL_EXPORT
- #ifndef DLL_EXPORT
- #define DLL_EXPORT
- #endif
-#else
- #ifndef DLL_IMPORT
- #define DLL_IMPORT
- #endif
-#endif
-
/* If __thread is available */
#cmakedefine HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@