source: trunk/contrib/cppunit-1.12.2/include/cppunit/ui/qt/Config.h @ 876

Last change on this file since 876 was 876, checked in by sam, 9 years ago

contrib: add a precompiled Win32 version of CppUnit and update build system
accordingly.

File size: 596 bytes
Line 
1#ifndef CPPUNIT_QTUI_CONFIG_H
2#define CPPUNIT_QTUI_CONFIG_H
3
4/*! Macro to export symbol to DLL with VC++.
5 *
6 * - QTTESTRUNNER_DLL_BUILD must be defined when building the DLL.
7 * - QTTESTRUNNER_DLL must be defined if linking against the DLL.
8 * - If none of the above are defined then you are building or linking against
9 *   the static library.
10 */
11
12#if defined( QTTESTRUNNER_DLL_BUILD )
13#  define QTTESTRUNNER_API __declspec(dllexport)
14#elif defined ( QTTESTRUNNER_DLL )
15#  define QTTESTRUNNER_API __declspec(dllimport)
16#else
17#  define QTTESTRUNNER_API
18#endif
19
20
21#endif // CPPUNIT_QTUI_CONFIG_H
Note: See TracBrowser for help on using the repository browser.