forked from siara-cc/esp32-idf-sqlite3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
9 lines (7 loc) · 855 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
set(COMPONENT_ADD_INCLUDEDIRS "include")
idf_component_register(SRCS "sqlite3.c" "esp32.c" "shox96_0_2.c"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "private_include"
REQUIRES mbedtls
PRIV_REQUIRES console spiffs)
target_compile_options(${COMPONENT_LIB} PRIVATE -std=gnu99 -g3 -fno-stack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -Wpointer-arith -Wno-error=unused-value -Wno-error=unused-label -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-error=char-subscripts -Wno-error=maybe-uninitialized -Wno-unused-parameter -Wno-sign-compare -Wno-old-style-declaration -MMD -c -DF_CPU=240000000L -DESP32 -DCORE_DEBUG_LEVEL=0 -DNDEBUG)