]> gitweb.ps.run Git - matrix_esp_thesis/blob - esp32/esp_project/components/matrix/CMakeLists.txt
working examples for esp
[matrix_esp_thesis] / esp32 / esp_project / components / matrix / CMakeLists.txt
1 idf_component_register(SRCS
2                             "../../../../src/matrix.c"
3                             "../../../../src/matrix_http_esp32.c"
4                             "../../../../ext/mjson/src/mjson.c"
5                        INCLUDE_DIRS
6                             "../../../../ext/olm/include"
7                             "../../../../ext/olm/lib"
8                             "../../../../ext/mjson/src"
9                             "../../../../src"
10                        REQUIRES
11                             esp-tls
12                             esp_http_client
13                             esp_netif
14                             nvs_flash)
15
16 SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -fpermissive")
17 SET(CMAKE_CXX_COMPILER  "C:/Espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe")