upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/components/negentropy_lib/CMakeLists.txt
blob: 32bab60d771bb3dd102d5ddfd08362c6101cadf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set(NEGENTROPY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../negentropy)

idf_component_register(
    SRCS "${NEGENTROPY_DIR}/c/negentropy_wrapper.cpp"
    INCLUDE_DIRS
        "${NEGENTROPY_DIR}/c"
        "${NEGENTROPY_DIR}/cpp"
        "compat"
    REQUIRES mbedtls
)

target_compile_options(${COMPONENT_LIB} PRIVATE
    -fexceptions
    -frtti
    -Wno-error
    -Wno-delete-non-virtual-dtor
    -Wno-unused-variable
    -Wno-unused-function
    -Wno-catch-value
)