Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
usCoreExport.h
Go to the documentation of this file.
1 // Macros for import/export declarations
3 //-------------------------------------------------------------------
4 
5 #ifndef usCoreExport_H_
6 #define usCoreExport_H_
7 
8 #include <usGlobalConfig.h>
9 
10 #ifdef US_BUILD_SHARED_LIBS
11  // We are building a shared lib
12  #ifdef CppMicroServices_EXPORTS
13  #define US_Core_EXPORT US_ABI_EXPORT
14  #else
15  #define US_Core_EXPORT US_ABI_IMPORT
16  #endif
17 #else
18  // We are building a static lib
19  // Don't hide RTTI symbols of definitions in the C++ Micro Services
20  // headers that are included in DSOs with hidden visibility
21  #define US_Core_EXPORT US_ABI_EXPORT
22 #endif
23 
24 #endif // usCoreExport_H_
usGlobalConfig.h