diff options
Diffstat (limited to 'esp32/esp_project_risc_v/components/matrix')
| -rw-r--r-- | esp32/esp_project_risc_v/components/matrix/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/esp32/esp_project_risc_v/components/matrix/CMakeLists.txt b/esp32/esp_project_risc_v/components/matrix/CMakeLists.txt new file mode 100644 index 0000000..bf7da7a --- /dev/null +++ b/esp32/esp_project_risc_v/components/matrix/CMakeLists.txt @@ -0,0 +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")
|
