-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
39 lines (34 loc) · 1.23 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# ESP-IDF component
#
message(STATUS "==============================================")
message(STATUS "CppPotpourri")
message(STATUS "==============================================")
set(includes "src")
set(src_dirs)
list(APPEND src_dirs "src")
list(APPEND src_dirs "src/cbor-cpp")
list(APPEND src_dirs "src/BusQueue")
list(APPEND src_dirs "src/C3PValue")
list(APPEND src_dirs "src/Console")
list(APPEND src_dirs "src/TimerTools")
list(APPEND src_dirs "src/TimeSeries")
list(APPEND src_dirs "src/Storage")
list(APPEND src_dirs "src/Storage/RecordTypes")
list(APPEND src_dirs "src/Image")
list(APPEND src_dirs "src/Image/ImageUtils")
list(APPEND src_dirs "src/Identity")
list(APPEND src_dirs "src/M2MLink")
list(APPEND src_dirs "src/Pipes/TripleAxisPipe")
list(APPEND src_dirs "src/Pipes/BufferAccepter")
list(APPEND src_dirs "src/Pipes/BufferAccepter/GPSWrapper")
list(APPEND src_dirs "src/Pipes/BufferAccepter/Base64")
list(APPEND src_dirs "src/Pipes/BufferAccepter/LineCoDec")
list(APPEND src_dirs "src/Pipes/ScalarPipe")
idf_component_register(
SRC_DIRS "${src_dirs}"
INCLUDE_DIRS "${includes}"
PRIV_INCLUDE_DIRS "src"
REQUIRES ManuvrPlatform
)
target_compile_options(${COMPONENT_LIB} PUBLIC -Wno-ignored-qualifiers -Wno-implicit-fallthrough)