2023-08-28 02:02:08 -04:00
|
|
|
idf_build_get_property(target IDF_TARGET)
|
|
|
|
|
|
|
|
if(${target} STREQUAL "linux")
|
|
|
|
return() # This component is currently not supported by the POSIX/Linux simulator, but we may support it in the
|
|
|
|
# future (TODO: IDF-8103)
|
|
|
|
endif()
|
|
|
|
|
2022-03-11 13:23:29 -05:00
|
|
|
set(argtable_srcs argtable3/arg_cmd.c
|
|
|
|
argtable3/arg_date.c
|
|
|
|
argtable3/arg_dbl.c
|
|
|
|
argtable3/arg_dstr.c
|
|
|
|
argtable3/arg_end.c
|
|
|
|
argtable3/arg_file.c
|
|
|
|
argtable3/arg_hashtable.c
|
|
|
|
argtable3/arg_int.c
|
|
|
|
argtable3/arg_lit.c
|
|
|
|
argtable3/arg_rem.c
|
|
|
|
argtable3/arg_rex.c
|
|
|
|
argtable3/arg_str.c
|
|
|
|
argtable3/arg_utils.c
|
|
|
|
argtable3/argtable3.c)
|
|
|
|
|
|
|
|
|
2019-04-28 03:38:23 -04:00
|
|
|
idf_component_register(SRCS "commands.c"
|
2020-02-03 05:01:04 -05:00
|
|
|
"esp_console_repl.c"
|
2019-06-21 02:29:32 -04:00
|
|
|
"split_argv.c"
|
|
|
|
"linenoise/linenoise.c"
|
2022-03-11 13:23:29 -05:00
|
|
|
${argtable_srcs}
|
2023-09-07 22:10:07 -04:00
|
|
|
INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}
|
2021-03-19 08:03:13 -04:00
|
|
|
REQUIRES vfs
|
|
|
|
PRIV_REQUIRES driver)
|