ESP32 Native version of Blinky, featureful controller code for WS2811/WS2812/NeoPixels
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
860B

  1. idf_component_register(
  2. SRCS
  3. "main.cpp"
  4. "wifi.cpp"
  5. "http_serv.cpp"
  6. "ota.cpp"
  7. "mqtt.cpp"
  8. "device.cpp"
  9. "utils.cpp"
  10. "leds.cpp"
  11. "presets.cpp"
  12. "spi_leds.cpp"
  13. "screen_leds.cpp"
  14. "display.cpp"
  15. "patterns/gradient.cpp"
  16. "patterns/random.cpp"
  17. "patterns/sparkle.cpp"
  18. INCLUDE_DIRS "."
  19. )
  20. # Build static library, do not build test executables
  21. option(BUILD_SHARED_LIBS OFF)
  22. option(BUILD_TESTING OFF)
  23. # Unfortunately the library performs install and export. Would
  24. # have been nice if devs made that an option like BUILD_SHARED_LIBS
  25. # and BUILD_TESTING. Override install() and export() to do nothing
  26. # instead.
  27. function(install)
  28. endfunction()
  29. function(export)
  30. endfunction()