mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-08 12:19:21 +01:00
* Add support for modules * Use "" for inclusion * Fix missing includes on Poco.Data module * Add PDF and SevenZip modules, and match modules to build macros * Add CI test * Add missing link libraries in CMake * Add remaining libraries DNSSD, CppParser and CppUnit. Changed some static declarations to inline to export * We also need to forward the ENABLE_NETSSL_* macros * Update CMakeLists files * Add samples as requested, with DateTime and URI test for example * Fix POCO_MODULES_INSTALL macro * chore(CMake): Combine install macro for libraries and C++ modules into one macro. * Apply testsuite changes and address include directories concerns * Restore accidentally deleted build files * Mistakenly added a file generated by CMake, removed. --------- Co-authored-by: Matej Kenda <matejken@gmail.com>
42 lines
1022 B
C++
42 lines
1022 B
C++
module;
|
|
|
|
#ifdef ENABLE_CPPUNIT
|
|
#include "CppUnit/CppUnit.h"
|
|
#include "CppUnit/CppUnitException.h"
|
|
#include "CppUnit/Guards.h"
|
|
#include "CppUnit/Orthodox.h"
|
|
#include "CppUnit/RepeatedTest.h"
|
|
#include "CppUnit/Test.h"
|
|
#include "CppUnit/TestCaller.h"
|
|
#include "CppUnit/TestCase.h"
|
|
#include "CppUnit/TestDecorator.h"
|
|
#include "CppUnit/TestFailure.h"
|
|
#include "CppUnit/TestResult.h"
|
|
#include "CppUnit/TestRunner.h"
|
|
#include "CppUnit/TestSetup.h"
|
|
#include "CppUnit/TestSuite.h"
|
|
#include "CppUnit/TextTestResult.h"
|
|
#include "CppUnit/estring.h"
|
|
#endif
|
|
|
|
export module CppUnit;
|
|
|
|
export namespace CppUnit {
|
|
#ifdef ENABLE_CPPUNIT
|
|
using CppUnit::CppUnitException;
|
|
using CppUnit::Orthodox;
|
|
using CppUnit::RepeatedTest;
|
|
using CppUnit::Test;
|
|
using CppUnit::TestCaller;
|
|
using CppUnit::TestCase;
|
|
using CppUnit::TestDecorator;
|
|
using CppUnit::TestFailure;
|
|
using CppUnit::TestResult;
|
|
using CppUnit::TestRunner;
|
|
using CppUnit::TestSetup;
|
|
using CppUnit::TestSuite;
|
|
using CppUnit::TextTestResult;
|
|
using CppUnit::estring;
|
|
#endif
|
|
}
|