2018-08-16 05:01:43 +00:00
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS expat/expat/lib port/include)
|
2018-09-11 01:44:12 +00:00
|
|
|
set(COMPONENT_SRCS "expat/expat/lib/loadlibrary.c"
|
|
|
|
"expat/expat/lib/xmlparse.c"
|
|
|
|
"expat/expat/lib/xmlrole.c"
|
|
|
|
"expat/expat/lib/xmltok.c"
|
|
|
|
"expat/expat/lib/xmltok_impl.c"
|
|
|
|
"expat/expat/lib/xmltok_ns.c")
|
2018-01-12 02:49:13 +00:00
|
|
|
|
2018-03-22 06:27:10 +00:00
|
|
|
set(COMPONENT_REQUIRES)
|
|
|
|
|
2018-01-12 02:49:13 +00:00
|
|
|
register_component()
|
|
|
|
|
2018-02-22 04:05:05 +00:00
|
|
|
component_compile_definitions(HAVE_EXPAT_CONFIG_H)
|
2018-08-16 05:01:43 +00:00
|
|
|
component_compile_definitions(HAVE_GETRANDOM)
|
2018-01-12 02:49:13 +00:00
|
|
|
|
2018-08-16 05:01:43 +00:00
|
|
|
# Temporary suppress "fallthrough" warnings until they are fixed in expat repo
|
|
|
|
component_compile_options(-Wno-implicit-fallthrough)
|