parent
ce7f62b519
commit
58398a41c3
2 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue