Lines Matching +full:cmake +full:- +full:ext

1 # SPDX-License-Identifier: Apache-2.0
8 # This cmake file provides functionality to import CMakeLists.txt and Kconfig
17 # -DZEPHYR_MODULES=<module-path>[;<additional-module(s)-path>]
27 # - `ZEPHYR_<MODULE_NAME>_CMAKE_DIR` is used for inclusion of the CMakeLists.txt
28 # - `ZEPHYR_<MODULE_NAME>_KCONFIG` is used for inclusion of the Kconfig
36 set(ZEPHYR_MODULES_ARG "--modules" ${ZEPHYR_MODULES})
41 set(EXTRA_ZEPHYR_MODULES_ARG "--extra-modules" ${EXTRA_ZEPHYR_MODULES})
53 # ZEPHYR_MODULES was provided as argument to CMake.
57 --zephyr-base=${ZEPHYR_BASE}
60 --kconfig-out ${kconfig_modules_file}
61 --cmake-out ${cmake_modules_file}
62 --sysbuild-kconfig-out ${kconfig_sysbuild_file}
63 --sysbuild-cmake-out ${cmake_sysbuild_file}
64 --settings-out ${zephyr_settings_file}
77 file(STRINGS ${zephyr_settings_file} zephyr_settings_txt ENCODING UTF-8 REGEX "^[^#]")
80 # a setting. The use of quotes is required due to CMake not supporting
88 # Append ZEPHYR_BASE as a default ext root at lowest priority
92 file(STRINGS ${cmake_modules_file} zephyr_modules_txt ENCODING UTF-8)
98 # one module. The use of quotes is required due to CMake not supporting
105 file(STRINGS ${cmake_sysbuild_file} sysbuild_modules_txt ENCODING UTF-8)
111 # one module. The use of quotes is required due to CMake not supporting
121 set(module_cmake_file_path modules/modules.cmake)
131 # one Zephyr module. The use of quotes is required due to CMake not
146 \${ZEPHYR_${MODULE_NAME_UPPER}_MODULE_DIR} CMake variable.")
152 # one Zephyr module. The use of quotes is required due to CMake not
166 \${SYSBUILD_${MODULE_NAME_UPPER}_MODULE_DIR} CMake variable.")