Revert "WIP: Remove libxml2"

This reverts commit a19692849a.
This commit is contained in:
William Brawner 2020-07-30 11:06:32 -07:00
parent ce7f62b519
commit 58398a41c3
2 changed files with 10 additions and 0 deletions

View file

@ -1,7 +1,10 @@
cmake_minimum_required(VERSION 3.7)
project(
feader
VERSION 0.1.0
DESCRIPTION "The C library for Feader"
)
set(CMAKE_C_FLAGS, "-g -Wall")
add_executable(
feader-cli
src/feader.c
@ -10,3 +13,9 @@ add_library(
feader SHARED
src/feader.c
)
set_target_properties(
feader
PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION 0
)

View file

@ -96,6 +96,7 @@ void print_xml_elements(xml* x) {
void cleanup_xml(xml* x) {
free(x->data);
free(x->errBuf);
xmlFreeDoc(x->xdp);
free(x);
}