Getting CMake to use built-in ARMCC support

Hello!

I see that CMake has built-in ARMCC support:
https://gitlab.kitware.com/cmake/cmake/-/commit/035a658f4fdc8028ff19568aa2ded8b3efa70909#diff-6
I have this compiler installed via Arm DS-5 (the older Arm development tools, but that linked toolchain looks good).

How do I get CMake to use that toolchain file (which I see in the CMake installation!)

I wonder also how to get the VS Code Cmake Tool extension to find it when “scanning for kits”.

Thank you!
Jim

Oh, I should also mention that I was hoping to use ninja, as it has been great for compiling which I got to work with a cobbled together toolchain file. That toolchain file is not working of linking however since armlink is a bit different). So, how can I use the built-in ARMCC toolchain with ninja. And thanks again!

The files there are what CMake does once that compiler is detected.

You’ll want to take a look at cmake-toolchains(7) for information on them.