2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-08-10 20:44:56 +08:00
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
2019-01-17 07:34:09 +08:00
|
|
|
|
2020-05-29 08:58:50 +08:00
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
2018-11-08 19:13:39 +08:00
|
|
|
project(mqtt_subscriber)
|
|
|
|
|
|
|
|
target_include_directories(app PRIVATE
|
2020-02-12 22:00:46 +08:00
|
|
|
${ZEPHYR_BASE}/subsys/net/ip
|
2018-11-08 19:13:39 +08:00
|
|
|
)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
|
|
target_sources(app PRIVATE ${app_sources})
|