X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/9eaa420b7bf51cc81c50e7f4ca0f256498a07c86..8ceca98f04b88798794748572fce184b92144d2d:/esp32/esp_project/components/matrix/CMakeLists.txt diff --git a/esp32/esp_project/components/matrix/CMakeLists.txt b/esp32/esp_project/components/matrix/CMakeLists.txt new file mode 100644 index 0000000..485b3c6 --- /dev/null +++ b/esp32/esp_project/components/matrix/CMakeLists.txt @@ -0,0 +1,17 @@ +idf_component_register(SRCS + "../../../../src/matrix.c" + "../../../../src/matrix_http_esp32.c" + "../../../../ext/mjson/src/mjson.c" + INCLUDE_DIRS + "../../../../ext/olm/include" + "../../../../ext/olm/lib" + "../../../../ext/mjson/src" + "../../../../src" + REQUIRES + esp-tls + esp_http_client + esp_netif + nvs_flash) + +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive") +SET(CMAKE_CXX_COMPILER "C:/Espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe")