CppUnit project page FAQ CppUnit home page

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CppUnitApi.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_CONFIG_CPPUNITAPI
00002 #define CPPUNIT_CONFIG_CPPUNITAPI
00003 
00004 #undef CPPUNIT_API
00005 
00006 #ifdef WIN32
00007 
00008 // define CPPUNIT_DLL_BUILD when building CppUnit dll.
00009 #ifdef CPPUNIT_BUILD_DLL
00010 #define CPPUNIT_API __declspec(dllexport)
00011 #endif
00012 
00013 // define CPPUNIT_DLL when linking to CppUnit dll.
00014 #ifdef CPPUNIT_DLL
00015 #define CPPUNIT_API __declspec(dllimport)
00016 #endif
00017 
00018 #ifdef CPPUNIT_API
00019 #undef CPPUNIT_NEED_DLL_DECL
00020 #define CPPUNIT_NEED_DLL_DECL 1
00021 #endif
00022 
00023 #endif
00024 
00025 
00026 #ifndef CPPUNIT_API
00027 #define CPPUNIT_API
00028 #undef CPPUNIT_NEED_DLL_DECL
00029 #define CPPUNIT_NEED_DLL_DECL 0
00030 #endif
00031 
00032  
00033 #endif  // CPPUNIT_CONFIG_CPPUNITAPI

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers