1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
5project(bluetooth_mesh_rpl)
6
7FILE(GLOB app_sources src/*.c)
8target_sources(app
9	PRIVATE
10	${app_sources}
11	${ZEPHYR_BASE}/subsys/bluetooth/mesh/rpl.c)
12
13target_include_directories(app
14	PRIVATE
15	${ZEPHYR_BASE}/subsys/bluetooth/mesh
16	${ZEPHYR_MBEDTLS_MODULE_DIR}/include)
17
18target_compile_options(app
19	PRIVATE
20	-DCONFIG_BT_MESH_CRPL=10
21	-DCONFIG_BT_MESH_RPL_STORE_TIMEOUT=1
22	-DCONFIG_BT_SETTINGS
23	-DCONFIG_BT_MESH_USES_MBEDTLS_PSA)
24