summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-30 13:59:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-20 21:58:39 +0300
commitbc3a7cf853510ffe1e42dc683f854d360f6528c7 (patch)
tree9898f13eafc3e1a20388d8d592bfcc05c8f50ba7 /src/Makefile.am
parenta058af57bddd4a4394401cc75d33461e17aab8c1 (diff)
downloadmanaplus-bc3a7cf853510ffe1e42dc683f854d360f6528c7.tar.gz
manaplus-bc3a7cf853510ffe1e42dc683f854d360f6528c7.tar.bz2
manaplus-bc3a7cf853510ffe1e42dc683f854d360f6528c7.tar.xz
manaplus-bc3a7cf853510ffe1e42dc683f854d360f6528c7.zip
Add pugixml backend incomplete.
Add some defines for xml nodes manipulation. With pugixml backend no xml writing.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am27
1 files changed, 17 insertions, 10 deletions
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 \