Config.h 596 B

123456789101112131415161718192021
  1. #ifndef CPPUNIT_QTUI_CONFIG_H
  2. #define CPPUNIT_QTUI_CONFIG_H
  3. /*! Macro to export symbol to DLL with VC++.
  4. *
  5. * - QTTESTRUNNER_DLL_BUILD must be defined when building the DLL.
  6. * - QTTESTRUNNER_DLL must be defined if linking against the DLL.
  7. * - If none of the above are defined then you are building or linking against
  8. * the static library.
  9. */
  10. #if defined( QTTESTRUNNER_DLL_BUILD )
  11. # define QTTESTRUNNER_API __declspec(dllexport)
  12. #elif defined ( QTTESTRUNNER_DLL )
  13. # define QTTESTRUNNER_API __declspec(dllimport)
  14. #else
  15. # define QTTESTRUNNER_API
  16. #endif
  17. #endif // CPPUNIT_QTUI_CONFIG_H