mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
82f0488f77
...and only add it when building with GCC.
13 lines
491 B
CMake
13 lines
491 B
CMake
idf_component_register(SRCS "commands.c"
|
|
"esp_console_repl.c"
|
|
"split_argv.c"
|
|
"argtable3/argtable3.c"
|
|
"linenoise/linenoise.c"
|
|
INCLUDE_DIRS "."
|
|
REQUIRES vfs
|
|
PRIV_REQUIRES driver)
|
|
|
|
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
|
|
set_source_files_properties(argtable3/argtable3.c PROPERTIES COMPILE_FLAGS -Wno-clobbered)
|
|
endif()
|