Upgrade CMake version of nRF Connect toolchain

Hello,

Is there an easy way to upgrade the CMake version that is used during the build process trigger from the nRF Connect SDK Extension in VSCode ?

I'm currently using toolchain version 2.6.0, which is using CMake version 3.21.0

I need to use at least version 3.29 (using Embedded Swift for development).

I'm working under macOS and managed to get a project working by replacing the 3.21.0 folder under /opt/nordic/ncs/toolchains/580e4ef81c/Cellar/cmake/ by a symlink to my more rect installation of CMake, so

ln -s /opt/homebrew/Cellar/cmake/3.30.1 /opt/nordic/ncs/toolchains/580e4ef81c/Cellar/cmake/3.21.0

Is there a cleaner way to do this, using some configuration ?

Above solution works but it applies to all projects and it's a hack.

Thanks,

Eric

Parents Reply Children
No Data
Related