1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 5project(llext_edk_test LANGUAGES C) 6 7target_sources(app PRIVATE src/main.c src/foo.c) 8zephyr_include_directories(include) 9zephyr_include_directories(${ZEPHYR_BASE}/boards/native/common) 10 11if(EXTENSION_DIR) 12 target_include_directories(app PRIVATE ${EXTENSION_DIR}) 13 target_compile_definitions(app PRIVATE LOAD_AND_RUN_EXTENSION) 14endif() 15