2019-11-21 09:18:48 +01:00
|
|
|
idf_component_register(SRCS "expat/expat/lib/xmlparse.c"
|
2019-04-28 15:38:23 +08:00
|
|
|
"expat/expat/lib/xmlrole.c"
|
|
|
|
"expat/expat/lib/xmltok.c"
|
|
|
|
"expat/expat/lib/xmltok_impl.c"
|
|
|
|
"expat/expat/lib/xmltok_ns.c"
|
|
|
|
INCLUDE_DIRS expat/expat/lib port/include)
|
2018-01-12 13:49:13 +11:00
|
|
|
|
2019-05-10 10:53:08 +08:00
|
|
|
target_compile_definitions(${COMPONENT_LIB} PRIVATE HAVE_EXPAT_CONFIG_H)
|
|
|
|
target_compile_definitions(${COMPONENT_LIB} PRIVATE HAVE_GETRANDOM)
|
2018-01-12 13:49:13 +11:00
|
|
|
|
2018-08-16 15:01:43 +10:00
|
|
|
# Temporary suppress "fallthrough" warnings until they are fixed in expat repo
|
2019-11-05 12:20:26 +01:00
|
|
|
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-implicit-fallthrough)
|