Files
Sakimi-UAV/CMakeLists.txt
T
Misaki af5987b37b first
2026-10-27 00:34:27 +08:00

20 lines
549 B
CMake
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(Sakimi-UAV)
target_sources(app PRIVATE
src/main.cpp
)
target_include_directories(app PRIVATE
src
)
# 自定义 iterable section(app_init_entry),供 APP_INIT 宏注册
# zephyr_linker_sources(SECTIONS src/sys/app_init/app_init.ld)
# The vendored MAVLink generated headers use packed structs; the resulting
# address-of-packed-member warnings are harmless.
target_compile_options(app PRIVATE -Wno-address-of-packed-member)