mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Backport from develop branch
This commit is contained in:
parent
d1e1a9bff1
commit
1dc771e9bb
@ -6,8 +6,6 @@
|
||||
#ifndef CppUnit_CppUnit_INCLUDED
|
||||
#define CppUnit_CppUnit_INCLUDED
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
|
||||
//
|
||||
// Ensure that POCO_DLL is default unless POCO_STATIC is defined
|
||||
//
|
||||
@ -46,6 +44,29 @@
|
||||
//
|
||||
// Automatically link Data library.
|
||||
//
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(POCO_DLL)
|
||||
#if defined(_DEBUG)
|
||||
#define POCO_LIB_SUFFIX "d.lib"
|
||||
#else
|
||||
#define POCO_LIB_SUFFIX ".lib"
|
||||
#endif
|
||||
#elif defined(_DLL)
|
||||
#if defined(_DEBUG)
|
||||
#define POCO_LIB_SUFFIX "mdd.lib"
|
||||
#else
|
||||
#define POCO_LIB_SUFFIX "md.lib"
|
||||
#endif
|
||||
#else
|
||||
#if defined(_DEBUG)
|
||||
#define POCO_LIB_SUFFIX "mtd.lib"
|
||||
#else
|
||||
#define POCO_LIB_SUFFIX "mt.lib"
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(_MSC_VER) && !defined(POCO_NO_AUTOMATIC_LIBS)
|
||||
#if !defined(CppUnit_EXPORTS)
|
||||
#pragma comment(lib, "PocoCppUnit" POCO_LIB_SUFFIX)
|
||||
|
Loading…
Reference in New Issue
Block a user