]> gitweb.ps.run Git - matrix_esp_thesis/blob - esp32/esp_project/components/olm/CMakeLists.txt
HTTP layer for ESP32, make static specifier in matrix.c optional by defining it as...
[matrix_esp_thesis] / esp32 / esp_project / components / olm / CMakeLists.txt
1 idf_component_register(SRCS\r
2                             "../../../../ext/olm/src/account.cpp"\r
3                             "../../../../ext/olm/lib/crypto-algorithms/aes.c"\r
4                             "../../../../ext/olm/src/base64.cpp"\r
5                             "../../../../ext/olm/src/cipher.cpp"\r
6                             "../../../../ext/olm/src/crypto.cpp"\r
7                             "../../../../ext/olm/lib/curve25519-donna/curve25519-donna.c"\r
8                             "../../../../ext/olm/src/ed25519.c"\r
9                             "../../../../ext/olm/src/error.c"\r
10                             "../../../../ext/olm/src/inbound_group_session.c"\r
11                             "../../../../ext/olm/src/megolm.c"\r
12                             "../../../../ext/olm/src/memory.cpp"\r
13                             "../../../../ext/olm/src/message.cpp"\r
14                             "../../../../ext/olm/src/olm.cpp"\r
15                             "../../../../ext/olm/src/outbound_group_session.c"\r
16                             "../../../../ext/olm/src/pickle.cpp"\r
17                             "../../../../ext/olm/src/pickle_encoding.c"\r
18                             "../../../../ext/olm/src/pk.cpp"\r
19                             "../../../../ext/olm/src/ratchet.cpp"\r
20                             "../../../../ext/olm/src/sas.c"\r
21                             "../../../../ext/olm/src/session.cpp"\r
22                             "../../../../ext/olm/lib/crypto-algorithms/sha256.c"\r
23                             "../../../../ext/olm/src/utility.cpp"\r
24                        INCLUDE_DIRS\r
25                             "../../../../ext/olm/include"\r
26                             "../../../../ext/olm/lib"\r
27                             "../../../../src"\r
28                        REQUIRES\r
29                             esp_timer)\r
30 \r
31 add_definitions(-DOLM_STATIC_DEFINE)\r
32 add_definitions(-DOLMLIB_VERSION_MAJOR=3)\r
33 add_definitions(-DOLMLIB_VERSION_MINOR=2)\r
34 add_definitions(-DOLMLIB_VERSION_PATCH=15)\r
35 \r
36 SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -fpermissive -Wl,--allow-multiple-definition")\r
37 SET(CMAKE_CXX_COMPILER  "C:/Espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe")\r
38 \r