--- /dev/null
+idf_component_register(SRCS\r
+ "../../../../ext/olm/src/account.cpp"\r
+ "../../../../ext/olm/lib/crypto-algorithms/aes.c"\r
+ "../../../../ext/olm/src/base64.cpp"\r
+ "../../../../ext/olm/src/cipher.cpp"\r
+ "../../../../ext/olm/src/crypto.cpp"\r
+ "../../../../ext/olm/lib/curve25519-donna/curve25519-donna.c"\r
+ "../../../../ext/olm/src/ed25519.c"\r
+ "../../../../ext/olm/src/error.c"\r
+ "../../../../ext/olm/src/inbound_group_session.c"\r
+ "../../../../ext/olm/src/megolm.c"\r
+ "../../../../ext/olm/src/memory.cpp"\r
+ "../../../../ext/olm/src/message.cpp"\r
+ "../../../../ext/olm/src/olm.cpp"\r
+ "../../../../ext/olm/src/outbound_group_session.c"\r
+ "../../../../ext/olm/src/pickle.cpp"\r
+ "../../../../ext/olm/src/pickle_encoding.c"\r
+ "../../../../ext/olm/src/pk.cpp"\r
+ "../../../../ext/olm/src/sas.c"\r
+ "../../../../ext/olm/src/session.cpp"\r
+ "../../../../ext/olm/lib/crypto-algorithms/sha256.c"\r
+ "../../../../ext/olm/src/utility.cpp"\r
+ "../../../../src/matrix.c"\r
+ "../../../../src/matrix_http_mongoose.c"\r
+ "../../../../ext/mongoose/mongoose.c"\r
+ "../../../../ext/mjson/src/mjson.c"\r
+ INCLUDE_DIRS\r
+ "../../../../ext/olm/include"\r
+ "../../../../ext/olm/lib"\r
+ "../../../../ext/mongoose"\r
+ "../../../../ext/mjson/src"\r
+ "../../../../src"\r
+ REQUIRES\r
+ esp_timer\r
+ mbedtls)\r
+\r
+add_definitions(-DOLM_STATIC_DEFINE)\r
+add_definitions(-DOLMLIB_VERSION_MAJOR=3)\r
+add_definitions(-DOLMLIB_VERSION_MINOR=2)\r
+add_definitions(-DOLMLIB_VERSION_PATCH=15)\r
+add_definitions(-DMG_ENABLE_MBEDTLS=1)\r
+\r
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")\r
+\r