mongoose/examples/zephyr/http-client/CMakeLists.txt

12 lines
396 B
CMake
Raw Normal View History

2022-04-07 20:29:42 +08:00
# Copyright (c) 2022 Cesanta Software Limited
# Mail: support@cesanta.com
#
# SPDX-License-Identifier: GPL2.0 or commercial
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
2022-10-06 05:07:05 +08:00
project(http_client)
2022-04-07 20:29:42 +08:00
#add_definitions(-DMG_ENABLE_LINES=1)
2024-02-27 03:58:04 +08:00
add_definitions(-DMG_TLS=MG_TLS_MBED -DMG_MBEDTLS_DEBUG_LEVEL=4)
2022-04-07 20:29:42 +08:00
target_sources(app PRIVATE src/main.c src/mongoose.c)