CMakeLists.txt 890 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # SPDX-License-Identifier: Apache-2.0
  2. add_subdirectory(modules)
  3. zephyr_sources_ifdef(
  4. CONFIG_SHELL
  5. shell.c
  6. shell_fprintf.c
  7. shell_utils.c
  8. shell_ops.c
  9. )
  10. zephyr_sources_ifdef(
  11. CONFIG_SHELL_BACKEND_SERIAL
  12. shell_uart.c
  13. )
  14. zephyr_sources_ifdef(
  15. CONFIG_SHELL_BACKEND_DUMMY
  16. shell_dummy.c
  17. )
  18. zephyr_sources_ifdef(
  19. CONFIG_SHELL_BACKEND_RTT
  20. shell_rtt.c
  21. )
  22. zephyr_sources_ifdef(
  23. CONFIG_SHELL_BACKEND_TELNET
  24. shell_telnet.c
  25. )
  26. zephyr_sources_ifdef(
  27. CONFIG_SHELL_HELP
  28. shell_help.c
  29. )
  30. zephyr_sources_ifdef(
  31. CONFIG_SHELL_GETOPT
  32. shell_getopt.c
  33. )
  34. zephyr_sources_ifdef(
  35. CONFIG_SHELL_CMDS
  36. shell_cmds.c
  37. )
  38. zephyr_sources_ifdef(
  39. CONFIG_SHELL_HISTORY
  40. shell_history.c
  41. )
  42. zephyr_sources_ifdef(
  43. CONFIG_SHELL_LOG_BACKEND
  44. shell_log_backend.c
  45. )
  46. zephyr_sources_ifdef(
  47. CONFIG_SHELL_WILDCARD
  48. shell_wildcard.c
  49. )
  50. zephyr_sources_ifdef(CONFIG_SHELL_DBG shell_dbg.c)