00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef hmtslam_link_pragmas_H
00030 #define hmtslam_link_pragmas_H
00031
00032 #include <mrpt/config.h>
00033 #include <mrpt/utils/boost_join.h>
00034
00035
00036
00037
00038
00039
00040
00041 #if !defined(mrpt_hmtslam_EXPORTS) && (defined(_MSC_VER) || defined(__BORLANDC__))
00042 # if defined(_DEBUG)
00043 # pragma comment (lib, BOOST_JOIN( BOOST_JOIN("libmrpt-hmtslam",MRPT_VERSION_POSTFIX),"-dbg.lib"))
00044 # else
00045 # pragma comment (lib, BOOST_JOIN( BOOST_JOIN("libmrpt-hmtslam",MRPT_VERSION_POSTFIX),".lib"))
00046 # endif
00047 #endif
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057 #if defined(MRPT_OS_WINDOWS)
00058
00059
00060
00061
00062 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__GNUC__) || defined(__WATCOMC__)
00063 # define MRPT_HMTSLAM_EXPORT __declspec(dllexport)
00064 # define MRPT_HMTSLAM_IMPORT __declspec(dllimport)
00065 # else
00066 # define MRPT_HMTSLAM_EXPORT
00067 # define MRPT_HMTSLAM_IMPORT
00068 # endif
00069 #elif defined(MRPT_OS_OS2)
00070 # if defined (__WATCOMC__)
00071 # define MRPT_HMTSLAM_EXPORT __declspec(dllexport)
00072
00073
00074
00075
00076 # define MRPT_HMTSLAM_IMPORT
00077 # elif defined(__EMX__)
00078 # define MRPT_HMTSLAM_EXPORT
00079 # define MRPT_HMTSLAM_IMPORT
00080 # elif (!(defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )))
00081 # define MRPT_HMTSLAM_EXPORT _Export
00082 # define MRPT_HMTSLAM_IMPORT _Export
00083 # endif
00084 #elif defined(MRPT_OS_APPLE)
00085 # ifdef __MWERKS__
00086 # define MRPT_HMTSLAM_EXPORT __declspec(export)
00087 # define MRPT_HMTSLAM_IMPORT __declspec(import)
00088 # endif
00089 #elif defined(__CYGWIN__)
00090 # define MRPT_HMTSLAM_EXPORT __declspec(dllexport)
00091 # define MRPT_HMTSLAM_IMPORT __declspec(dllimport)
00092 #endif
00093
00094
00095 #ifndef MRPT_HMTSLAM_EXPORT
00096 # define MRPT_HMTSLAM_EXPORT
00097 # define MRPT_HMTSLAM_IMPORT
00098 #endif
00099
00100
00101
00102 #if defined(MRPT_BUILT_AS_DLL)
00103 # if defined(mrpt_hmtslam_EXPORTS)
00104 # define HMTSLAM_IMPEXP MRPT_HMTSLAM_EXPORT
00105 # else
00106 # define HMTSLAM_IMPEXP MRPT_HMTSLAM_IMPORT
00107 # endif
00108 #else
00109 # define HMTSLAM_IMPEXP
00110 #endif
00111
00112
00113 #endif