mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 14:24:35 +01:00
related to GH#705: Error building with ENABLE_UTIL=ON and ENABLE_XML=OFF
This commit is contained in:
parent
120cbdc64a
commit
74c24a3789
@ -13,9 +13,9 @@ objects = AbstractConfiguration Application ConfigurationMapper \
|
||||
LoggingConfigurator LoggingSubsystem MapConfiguration \
|
||||
Option OptionException OptionProcessor OptionSet \
|
||||
PropertyFileConfiguration Subsystem SystemConfiguration \
|
||||
XMLConfiguration FilesystemConfiguration ServerApplication \
|
||||
FilesystemConfiguration ServerApplication \
|
||||
Validator IntValidator RegExpValidator OptionCallback \
|
||||
Timer TimerTask JSONConfiguration
|
||||
Timer TimerTask
|
||||
|
||||
ifeq ($(findstring MinGW, $(POCO_CONFIG)), MinGW)
|
||||
objects += WinService WinRegistryKey WinRegistryConfiguration
|
||||
@ -23,6 +23,16 @@ endif
|
||||
|
||||
target = PocoUtil
|
||||
target_version = $(LIBVERSION)
|
||||
target_libs = PocoFoundation PocoXML PocoJSON
|
||||
target_libs = PocoFoundation
|
||||
|
||||
ifndef POCO_UTIL_NO_XMLCONFIGURATION
|
||||
objects += XMLConfiguration
|
||||
target_libs += PocoXML
|
||||
endif
|
||||
|
||||
ifndef POCO_UTIL_NO_JSONCONFIGURATION
|
||||
objects += JSONConfiguration
|
||||
target_libs += PocoJSON
|
||||
endif
|
||||
|
||||
include $(POCO_BASE)/build/rules/lib
|
||||
|
@ -19,8 +19,12 @@
|
||||
#include "Poco/Util/MapConfiguration.h"
|
||||
#include "Poco/Util/PropertyFileConfiguration.h"
|
||||
#include "Poco/Util/IniFileConfiguration.h"
|
||||
#ifndef POCO_UTIL_NO_XMLCONFIGURATION
|
||||
#include "Poco/Util/XMLConfiguration.h"
|
||||
#endif
|
||||
#ifndef POCO_UTIL_NO_JSONCONFIGURATION
|
||||
#include "Poco/Util/JSONConfiguration.h"
|
||||
#endif
|
||||
#include "Poco/Util/LoggingSubsystem.h"
|
||||
#include "Poco/Util/Option.h"
|
||||
#include "Poco/Util/OptionProcessor.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user