-include_directories(
- .
- include)
+include_directories(include)
add_definitions(
-D__MINGW32__
-D_DLL -D__USE_CRTIMP)
list(APPEND SOURCE
+ buf.c
c14n.c
catalog.c
chvalid.c
add_library(libxml2 ${SOURCE})
target_link_libraries(libxml2 oldnames)
add_dependencies(libxml2 psdk)
+
+if(NOT MSVC)
+ add_target_compile_flags(libxml2 "-w")
+endif()