]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - esp32/esp_project/components/matrix/CMakeLists.txt
changes to olm and esp
[matrix_esp_thesis] / esp32 / esp_project / components / matrix / CMakeLists.txt
index 485b3c661de5f07014a863fbda824bf43b4dc219..bf7da7a9ef289368dae2fc7840d5ae9556866109 100644 (file)
@@ -1,17 +1,16 @@
-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")
+idf_component_register(SRCS\r
+                            "../../../../src/matrix.c"\r
+                            "../../../../src/matrix_http_esp32.c"\r
+                            "../../../../ext/mjson/src/mjson.c"\r
+                       INCLUDE_DIRS\r
+                            "../../../../ext/olm/include"\r
+                            "../../../../ext/olm/lib"\r
+                            "../../../../ext/mjson/src"\r
+                            "../../../../src"\r
+                       REQUIRES\r
+                            esp-tls\r
+                            esp_http_client\r
+                            esp_netif\r
+                            nvs_flash)\r
+\r
+SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -fpermissive")\r