1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4
5find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
6project(fs_shell)
7
8FILE(GLOB app_sources src/*.c)
9target_sources(app PRIVATE ${app_sources})
10
11# Add a target for building the extension code
12set(ext_src ${PROJECT_SOURCE_DIR}/hello_world.c)
13set(ext_bin ${PROJECT_BINARY_DIR}/hello_world.llext)
14add_llext_target(hello_world_ext
15	OUTPUT  ${ext_bin}
16	SOURCES ${ext_src}
17)
18