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