abouttreesummaryrefslogcommitdiff
path: root/esp32/esp_project/components/matrix
diff options
context:
space:
mode:
authorPatrick2023-10-13 15:59:29 +0200
committerPatrick2023-10-13 15:59:29 +0200
commit8ceca98f04b88798794748572fce184b92144d2d (patch)
treef47412c25cb3aba62447e6df96a2f9cc288f6b27 /esp32/esp_project/components/matrix
parent9eaa420b7bf51cc81c50e7f4ca0f256498a07c86 (diff)
downloadmatrix_esp_thesis-8ceca98f04b88798794748572fce184b92144d2d.tar.gz
matrix_esp_thesis-8ceca98f04b88798794748572fce184b92144d2d.zip
working examples for esp
Diffstat (limited to 'esp32/esp_project/components/matrix')
-rw-r--r--esp32/esp_project/components/matrix/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
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")