From bc3a7cf853510ffe1e42dc683f854d360f6528c7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Nov 2015 13:59:45 +0300 Subject: Add pugixml backend incomplete. Add some defines for xml nodes manipulation. With pugixml backend no xml writing. --- src/Makefile.am | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 467afc24e..3d36ed226 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -475,8 +475,6 @@ SRC += events/actionevent.h \ utils/xml.h \ utils/xmlutils.cpp \ utils/xmlutils.h \ - utils/xml/libxml.cpp \ - utils/xml/libxml.h \ test/testlauncher.cpp \ test/testlauncher.h \ test/testmain.cpp \ @@ -692,6 +690,15 @@ SRC += events/actionevent.h \ input/inputactionmap.h \ winver.h +if ENABLE_PUGIXML +SRC += utils/xml/pugixml.cpp \ + utils/xml/pugixml.h +endif +if ENABLE_LIBXML +SRC += utils/xml/libxml.cpp \ + utils/xml/libxml.h +endif + dyecmd_SOURCES += ${SRC} manaplus_SOURCES += ${SRC} @@ -1705,20 +1712,20 @@ check_PROGRAMS = manaplustests manaplustests_CXXFLAGS = ${manaplus_CXXFLAGS} \ -DUNITTESTS manaplustests_SOURCES = ${manaplus_SOURCES} \ - resources/sprite/animatedsprite_unittest.cc \ enums/enums_unittest.cc \ - gui/windowmanager_unittest.cc \ - gui/fonts/textchunklist_unittest.cc \ - gui/widgets/browserbox_unittest.cc \ - utils/files_unittest.cc \ - utils/mathutils_unittest.cc \ - utils/stringutils_unittest.cc \ utils/xml_unittest.cc \ utils/xmlutils_unittest.cc \ + utils/mathutils_unittest.cc \ + utils/stringutils_unittest.cc \ + utils/files_unittest.cc \ + resources/mstack_unittest.cc \ utils/translation/poparser_unittest.cc \ + resources/sprite/animatedsprite_unittest.cc \ + gui/fonts/textchunklist_unittest.cc \ + gui/widgets/browserbox_unittest.cc \ resources/dye/dye_unittest.cc \ resources/dye/dyepalette_unittest.cc \ - resources/mstack_unittest.cc + gui/windowmanager_unittest.cc endif EXTRA_DIST = CMakeLists.txt \ -- cgit v1.2.3-70-g09d2