mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
Add CppUnit.progen. Add POCO_NO_AUTOMATIC_LIBS
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#ifndef CppUnit_CppUnit_INCLUDED
|
||||
#define CppUnit_CppUnit_INCLUDED
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
|
||||
//
|
||||
// Ensure that POCO_DLL is default unless POCO_STATIC is defined
|
||||
@@ -42,6 +43,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
|
||||
#ifdef _MSC_VER
|
||||
|
||||
Reference in New Issue
Block a user