minimal-examples/embedded/esp32/esp-heltec-wb32/main/CMakeLists.txt
raw| 1 | idf_component_register(SRCS |
| 2 | lws-minimal-esp32.c devices.c |
| 3 | INCLUDE_DIRS "../libwebsockets/include;${IDF_PATH}/components/spi_flash/include;${IDF_PATH}/components/nvs_flash/include;${IDF_PATH}/components/mdns/include") |
| 4 | |
| 5 | target_link_libraries(${COMPONENT_LIB} websockets) |
| 6 | include_directories(../build/libwebsockets) |