esp-idf/components/expat/CMakeLists.txt

18 lines
631 B
CMake
Raw Normal View History

set(COMPONENT_ADD_INCLUDEDIRS expat/expat/lib port/include)
2018-09-10 21:44:12 -04: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")
set(COMPONENT_REQUIRES)
register_component()
component_compile_definitions(HAVE_EXPAT_CONFIG_H)
component_compile_definitions(HAVE_GETRANDOM)
# Temporary suppress "fallthrough" warnings until they are fixed in expat repo
component_compile_options(-Wno-implicit-fallthrough)