Lines Matching +full:zephyr +full:- +full:base
1 # SPDX-License-Identifier: Apache-2.0
3 # This file provides Zephyr Config Package functionality.
6 # - Use ZEPHYR_BASE environment setting for explicitly set select a zephyr installation
7 # - Support automatic Zephyr installation lookup through the use of find_package(ZEPHYR)
9 # First check to see if user has provided a Zephyr base manually.
10 # Set Zephyr base to environment setting.
13 # Internal Zephyr CMake package message macro.
15 # This macro is only intended to be used within the Zephyr CMake package.
29 set(Zephyr_DIR ${ZEPHYR_BASE}/share/zephyr-package/cmake CACHE PATH
30 "The directory containing a CMake configuration file for Zephyr." FORCE
35 "ZephyrUnittest has been replaced with Zephyr CMake module 'unittest' \n"
36 "and can be loaded as: 'find_package(Zephyr COMPONENTS unittest)'"
56 set(__build_dir ${APPLICATION_BINARY_DIR}/zephyr)
61 # The module messages are intentionally higher than STATUS to avoid the -- prefix
65 zephyr_package_message(NOTICE "Loading Zephyr default modules (${location}).")
69 zephyr_package_message(NOTICE "Loading Zephyr module(s) (${location}): ${msg_components}")
80 "Please use: 'find_package(Zephyr COMPONENTS <components>)'"
91 set(ZEPHYR_BASE ${ZEPHYR_BASE} CACHE PATH "Zephyr base")
92 include_boilerplate("Zephyr base")
97 include_boilerplate("Zephyr base (cached)")
108 # Find out the current Zephyr base.
114 # Project is in Zephyr repository.
115 # We are in Zephyr repository.
116 set(ZEPHYR_BASE ${CURRENT_ZEPHYR_DIR} CACHE PATH "Zephyr base")
117 include_boilerplate("Zephyr repository")
122 # A higher level did the checking and included us and as we are not in Zephyr repository
123 # (checked above) then we must be in Zephyr workspace.
124 set(ZEPHYR_BASE ${CURRENT_ZEPHYR_DIR} CACHE PATH "Zephyr base")
125 include_boilerplate("Zephyr workspace")
131 # Project is in Zephyr workspace.
132 …# This means this Zephyr is likely the correct one, but there could be an alternative installed al…
147 set(ZEPHYR_BASE ${CURRENT_ZEPHYR_DIR} CACHE PATH "Zephyr base")
148 include_boilerplate("Zephyr workspace")
155 # Thus, the app is built as a Zephyr Freestanding application.
158 set(ZEPHYR_BASE ${CURRENT_ZEPHYR_DIR} CACHE PATH "Zephyr base")