mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 20:59:45 +01:00
Add #pragma comment(lib, "PocoCppUnit")
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
#ifndef CppUnit_CppUnit_INCLUDED
|
#ifndef CppUnit_CppUnit_INCLUDED
|
||||||
#define CppUnit_CppUnit_INCLUDED
|
#define CppUnit_CppUnit_INCLUDED
|
||||||
|
|
||||||
|
#include "Poco/Foundation.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
// Ensure that POCO_DLL is default unless POCO_STATIC is defined
|
// Ensure that POCO_DLL is default unless POCO_STATIC is defined
|
||||||
@@ -43,6 +44,15 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// Automatically link Data library.
|
||||||
|
//
|
||||||
|
#if defined(_MSC_VER) && !defined(POCO_NO_AUTOMATIC_LIBS)
|
||||||
|
#if !defined(CppUnit_EXPORTS)
|
||||||
|
#pragma comment(lib, "PocoCppUnit" POCO_LIB_SUFFIX)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// Turn off some annoying warnings
|
// Turn off some annoying warnings
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(disable:4786) // identifier truncation warning
|
#pragma warning(disable:4786) // identifier truncation warning
|
||||||
|
|||||||
Reference in New Issue
Block a user