16 #ifndef CONFIG_FMILIB_H_ 17 #define CONFIG_FMILIB_H_ 40 #define CMAKE_INTDIR "." 48 #define FMI_FILE_SEP "/" 51 #define FMI_DLL_EXT ".so" 54 #define FMI_PLATFORM "linux64" 57 #define FMI_BINARIES "binaries" 59 #define FMI_MODEL_DESCRIPTION_XML "modelDescription.xml" 62 #ifdef FMILIB_STATIC_LIB_ONLY 68 #ifndef FMILIB_STATIC_LIB_ONLY 70 #ifdef FMILIB_BUILDING_LIBRARY 72 #define FMILIB_EXPORT __attribute__ ((dllexport)) 75 #define FMILIB_EXPORT __declspec(dllexport) 79 #define FMILIB_EXPORT __attribute__ ((dllimport)) 82 #define FMILIB_EXPORT __declspec(dllimport) 85 #define FMILIB_PRIVATE 88 #define FMILIB_EXPORT __attribute__ ((visibility ("default"))) 89 #define FMILIB_PRIVATE __attribute__ ((visibility ("hidden"))) 92 #define FMILIB_PRIVATE 97 #define FMILIB_EXPORT __attribute__ ((visibility ("default"))) 98 #define FMILIB_PRIVATE __attribute__ ((visibility ("hidden"))) 100 #define FMILIB_EXPORT 101 #define FMILIB_PRIVATE 112 #ifndef FMILIB_ENABLE_LOG_LEVEL_DEBUG 114 #define FMILIB_ENABLE_LOG_LEVEL_DEBUG 115 #undef FMILIB_ENABLE_LOG_LEVEL_DEBUG 123 #define FMILIB_SIZET_FORMAT "%Iu" 125 #define FMILIB_SIZET_FORMAT "%zu" 129 #ifndef FMILIB_GENERATE_BUILD_STAMP 131 #define FMILIB_GENERATE_BUILD_STAMP 132 #undef FMILIB_GENERATE_BUILD_STAMP 139 #ifdef FMILIB_GENERATE_BUILD_STAMP 156 #define HAVE___VA_COPY 158 #define HAVE_VSNPRINTF 159 #ifdef HAVE_VSNPRINTF 160 #define jm_rpl_vsnprintf vsnprintf #define FMILIB_EXPORT
Used to declare the public API of the library needed for dynamic linking.