mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-29 04:23:54 +00:00
build system: Initial cmake support, work in progress
This commit is contained in:
committed by
Angus Gratton
parent
a538644560
commit
c671a0c3eb
14
components/expat/CMakeLists.txt
Normal file
14
components/expat/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
set(COMPONENT_ADD_INCLUDEDIRS port/include include/expat)
|
||||
|
||||
set(COMPONENT_SRCDIRS library port)
|
||||
|
||||
register_component()
|
||||
|
||||
target_compile_definitions(expat PRIVATE HAVE_EXPAT_CONFIG_H)
|
||||
|
||||
# patch around warnings in third-party files
|
||||
set_source_files_properties(
|
||||
library/xmlparse.c
|
||||
PROPERTIES COMPILE_FLAGS
|
||||
-Wno-unused-function
|
||||
)
|
||||
Reference in New Issue
Block a user