mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-04 09:14:50 +00:00
The CMake documentation for 'project' states "Call the project() command near the top of the top-level CMakeLists.txt". Meaning, it should be run as early as possible. An obscure internal error was observed when 'project' was located in zephyr/CMakeLists.txt and was observed to be fixed after moving 'project' earlier, hence this patch that moves it earlier. Invoking project depends on knowing information about the toolchain so it is placed after target_toolchain.cmake. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no> |
||
---|---|---|
.. | ||
app | ||
backports | ||
bintools | ||
compiler | ||
emu | ||
flash | ||
ide | ||
linker/ld | ||
reports | ||
toolchain | ||
usage | ||
util | ||
boards.cmake | ||
ccache.cmake | ||
cfb.cmake | ||
dts.cmake | ||
extensions.cmake | ||
extra_flags.cmake | ||
gcc-m-cpu.cmake | ||
generic_toolchain.cmake | ||
git.cmake | ||
hex.cmake | ||
host-tools.cmake | ||
kconfig.cmake | ||
kobj.cmake | ||
pristine.cmake | ||
python.cmake | ||
target_toolchain.cmake | ||
version.cmake | ||
zephyr_module.cmake |