From 1e52ab07c8dd6e492e71e12a25ff2a8d3d47315c Mon Sep 17 00:00:00 2001 From: Takashi Sawanaka Date: Sat, 11 May 2024 11:13:18 +0900 Subject: [PATCH] POCO C++ Libraries: Reduce build time --- Externals/poco/Foundation/Foundation.vcxproj | 322 +++++++++++++----- .../Foundation/Foundation.vcxproj.filters | 2 +- Externals/poco/Foundation/src/Foundation.cpp | 91 +++++ Externals/poco/XML/XML.vcxproj | 123 ++++--- Externals/poco/XML/XML.vcxproj.filters | 1 + Externals/poco/XML/src/XML.cpp | 28 ++ 6 files changed, 443 insertions(+), 124 deletions(-) create mode 100644 Externals/poco/Foundation/src/Foundation.cpp create mode 100644 Externals/poco/XML/src/XML.cpp diff --git a/Externals/poco/Foundation/Foundation.vcxproj b/Externals/poco/Foundation/Foundation.vcxproj index e98c9768926..f06cd2ae1e4 100644 --- a/Externals/poco/Foundation/Foundation.vcxproj +++ b/Externals/poco/Foundation/Foundation.vcxproj @@ -427,25 +427,52 @@ - - - - - - + + true + + + true + + + true + + + true + + + true + + + true + true true - - - - - - - + + true + + + true + + + true + + + + true + + + true + + + true + + + true + @@ -482,106 +509,186 @@ - - - - - - - - - - + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + true true - - - - - - - + + true + + + true + + + true + + + true + + + true + + + true + + + true + true true - + + true + true true - - + + true + + + true + true true - + + true + true true - - + + true + + + true + true true - - - - - - - - - - + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + true true - + + true + true true - - + + true + + + true + true true - - + + true + + + true + true true - - + + true + + + true + true @@ -591,14 +698,18 @@ true - + + true + true true - + + true + true @@ -608,31 +719,81 @@ true - - - - - - - - - - - - - - - - - - - - - - - - - + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + @@ -649,7 +810,6 @@ - diff --git a/Externals/poco/Foundation/Foundation.vcxproj.filters b/Externals/poco/Foundation/Foundation.vcxproj.filters index 7e07eb7adbd..a3968d34b64 100644 --- a/Externals/poco/Foundation/Foundation.vcxproj.filters +++ b/Externals/poco/Foundation/Foundation.vcxproj.filters @@ -528,6 +528,7 @@ RegularExpression\PCRE Source Files + @@ -1001,7 +1002,6 @@ Core\Header Files - RegularExpression\PCRE Source Files diff --git a/Externals/poco/Foundation/src/Foundation.cpp b/Externals/poco/Foundation/src/Foundation.cpp new file mode 100644 index 00000000000..49880366574 --- /dev/null +++ b/Externals/poco/Foundation/src/Foundation.cpp @@ -0,0 +1,91 @@ +// Core +#include "Ascii.cpp" +#include "AtomicCounter.cpp" +#include "Bugcheck.cpp" +#include "Debugger.cpp" +#include "Environment.cpp" +#include "Error.cpp" +#include "Exception.cpp" +#include "Format.cpp" +#include "NumberFormatter.cpp" +#include "NumberParser.cpp" +#include "NumericString.cpp" +#include "RefCountedObject.cpp" +#include "StringTokenizer.cpp" +#include "Void.cpp" +// DateTime +#include "Clock.cpp" +#include "DateTime.cpp" +#include "Stopwatch.cpp" +#include "Timespan.cpp" +#include "Timestamp.cpp" +// Filesystem +#include "DirectoryIterator.cpp" +#include "File.cpp" +#include "Glob.cpp" +#include "Path.cpp" +// Hashing +#include "Hash.cpp" +// Notifications +#include "AbstractObserver.cpp" +#include "Notification.cpp" +#include "NotificationCenter.cpp" +#include "NotificationQueue.cpp" +// Processes +#include "NamedEvent.cpp" +#include "Pipe.cpp" +#include "PipeImpl.cpp" +#include "Process.cpp" +#include "SharedMemory.cpp" +// RegularExpression +#include "RegularExpression.cpp" +// Streams +#include "Base64Decoder.cpp" +#include "Base64Encoder.cpp" +#include "BinaryReader.cpp" +#include "BinaryWriter.cpp" +#include "FileStream.cpp" +#include "MemoryStream.cpp" +#include "NullStream.cpp" +#include "Random.cpp" +#include "RandomStream.cpp" +#include "StreamCopier.cpp" +// Text +#include "ASCIIEncoding.cpp" +#include "Latin1Encoding.cpp" +#include "Latin2Encoding.cpp" +#include "Latin9Encoding.cpp" +#include "StreamConverter.cpp" +#include "TextBufferIterator.cpp" +#include "TextConverter.cpp" +#include "TextEncoding.cpp" +#include "TextIterator.cpp" +#include "Unicode.cpp" +#include "UnicodeConverter.cpp" +#include "UTF8Encoding.cpp" +#include "UTF8String.cpp" +#include "UTF16Encoding.cpp" +#include "UTF32Encoding.cpp" +#include "Windows1250Encoding.cpp" +#include "Windows1251Encoding.cpp" +#include "Windows1252Encoding.cpp" +// Threading +#include "ActiveDispatcher.cpp" +#include "Condition.cpp" +#include "ErrorHandler.cpp" +#include "Event.cpp" +#include "Mutex.cpp" +#include "Runnable.cpp" +#include "RWLock.cpp" +#include "Semaphore.cpp" +#include "SynchronizedObject.cpp" +#include "Thread.cpp" +#include "ThreadLocal.cpp" +#include "ThreadPool.cpp" +#include "ThreadTarget.cpp" +#include "Timer.cpp" +// URI +#include "FileStreamFactory.cpp" +#include "URI.cpp" +#include "URIStreamFactory.cpp" +#include "URIStreamOpener.cpp" diff --git a/Externals/poco/XML/XML.vcxproj b/Externals/poco/XML/XML.vcxproj index 0f280be49cb..936a86638e2 100644 --- a/Externals/poco/XML/XML.vcxproj +++ b/Externals/poco/XML/XML.vcxproj @@ -436,54 +436,93 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + true + + + true + + + true + + + true + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + - true - true - true - true - true - true - true - true + true - true - true - true - true - true - true - true - true + true diff --git a/Externals/poco/XML/XML.vcxproj.filters b/Externals/poco/XML/XML.vcxproj.filters index 7e9f48b4559..df5770ebc79 100644 --- a/Externals/poco/XML/XML.vcxproj.filters +++ b/Externals/poco/XML/XML.vcxproj.filters @@ -251,5 +251,6 @@ Expat\Source Files + \ No newline at end of file diff --git a/Externals/poco/XML/src/XML.cpp b/Externals/poco/XML/src/XML.cpp new file mode 100644 index 00000000000..c61d63ee06d --- /dev/null +++ b/Externals/poco/XML/src/XML.cpp @@ -0,0 +1,28 @@ +// SAX +#include "Attributes.cpp" +#include "AttributesImpl.cpp" +#include "ContentHandler.cpp" +#include "DeclHandler.cpp" +#include "DefaultHandler.cpp" +#include "DTDHandler.cpp" +#include "EntityResolver.cpp" +#include "EntityResolverImpl.cpp" +#include "ErrorHandler.cpp" +#include "InputSource.cpp" +#include "LexicalHandler.cpp" +#include "Locator.cpp" +#include "LocatorImpl.cpp" +#include "NamespaceSupport.cpp" +#include "SAXException.cpp" +#include "SAXParser.cpp" +#include "WhitespaceFilter.cpp" +#include "XMLFilter.cpp" +#include "XMLFilterImpl.cpp" +#include "XMLReader.cpp" +// XML +#include "Name.cpp" +#include "NamePool.cpp" +#include "NamespaceStrategy.cpp" +#include "ParserEngine.cpp" +#include "XMLException.cpp" +#include "XMLWriter.cpp" \ No newline at end of file