PKIFConfigSerialization.h

Go to the documentation of this file.
00001 
00009 #if !defined(WIN32)
00010 // for now, loading resources as a dll is only supported on Windows
00011 #define PKIFRESOURCES_STATIC
00012 #endif
00013 
00014 #if !defined(PKIFRESOURCES_STATIC)
00015 // The following ifdef block is the standard way of creating macros which make exporting 
00016 // from a DLL simpler. All files within this DLL are compiled with the PKIFCONFIGSERIALIZATION_EXPORTS
00017 // symbol defined on the command line. this symbol should not be defined on any project
00018 // that uses this DLL. This way any other project whose source files include this file see 
00019 // PKIFCONFIGSERIALIZATION_API functions as being imported from a DLL, whereas this DLL sees symbols
00020 // defined with this macro as being exported.
00021 #ifdef PKIFCONFIGSERIALIZATION_EXPORTS
00022 #define PKIFCONFIGSERIALIZATION_API __declspec(dllexport)
00023 #else
00024 #define PKIFCONFIGSERIALIZATION_API __declspec(dllimport)
00025 #endif
00026 
00027 #else
00028 #define PKIFCONFIGSERIALIZATION_API
00029 #endif 
00030 
00031 /* auto-link the appropriate lib on MSVC */
00032 #if defined(_MSC_VER) && (!defined(_LIB) && !defined(_USRDLL))
00033 #if defined(PKIFRESOURCES_STATIC)
00034 #if defined(_DEBUG)
00035 #pragma comment(lib,"pkifconfigserialization_staticd.lib")
00036 #else
00037 #pragma comment(lib,"pkifconfigserialization_static.lib")
00038 #endif //defined(_DEBUG)
00039 #else
00040 #if defined(_DEBUG)
00041 #if defined(USE_VLD)
00042 #pragma comment(lib,"pkifconfigserializationvld.lib")
00043 #else
00044 #pragma comment(lib,"pkifconfigserializationd.lib")
00045 #endif
00046 #else
00047 #pragma comment(lib,"pkifconfigserialization.lib")
00048 #endif //defined(_DEBUG)
00049 #endif //defined(PKIFRESOURCES_STATIC)
00050 #endif //defined(_MSC_VER) && (!defined(_LIB) && !defined(_USRDLL))

Generated on Mon Nov 15 11:15:54 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6