-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
26 lines (21 loc) · 890 Bytes
/
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
###############################################################################
#
# HttpServer
#
# SPDX-FileCopyrightText: 2019 Mike Dunston (atanisoft)
# SPDX-License-Identifier: BSD-2-Clause
#
###############################################################################
cmake_minimum_required(VERSION 3.10)
file(GLOB SOURCES src/*.cpp)
set(INCLUDE_PATH include)
set(DEPS esp_timer lwip mbedtls OpenMRNIDF)
idf_component_register(
SRCS ${SOURCES}
INCLUDE_DIRS ${INCLUDE_PATH}
REQUIRES ${DEPS})
###############################################################################
# Suppress compilation warnings generated by OpenMRN Executor code
###############################################################################
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-ignored-qualifiers)
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-implicit-fallthrough)