3 Star 0 Fork 0

mirrors_zephyrproject-rtos/libmetal

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 586 Bytes
一键复制 编辑 原始数据 按行查看 历史
#
# Copyright (c) 2018 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
if(CONFIG_LIBMETAL)
set(WITH_ZEPHYR 1)
set(WITH_ZEPHYR_LIB 1)
set(WITH_DOC OFF CACHE BOOL "" FORCE)
set(WITH_DEFAULT_LOGGER OFF CACHE BOOL "" FORCE)
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "posix")
# When building Zephyr for the POSIX architecture
# CMAKE_SYSTEM_PROCESSOR is set to POSIX. We need
# to set it instead to "hosted" which is what the
# libmetal build specs for such a target.
set(CMAKE_SYSTEM_PROCESSOR "hosted")
endif()
add_subdirectory(${CONFIG_LIBMETAL_SRC_PATH} libmetal)
endif()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_zephyrproject-rtos/libmetal.git
git@gitee.com:mirrors_zephyrproject-rtos/libmetal.git
mirrors_zephyrproject-rtos
libmetal
libmetal
main

搜索帮助