# Getting CMake to use built-in ARMCC support

**URL:** https://discourse.cmake.org/t/getting-cmake-to-use-built-in-armcc-support/11016
**Category:** Usage
**Created:** [June 14, 2024, 4:37am UTC](https://discourse.cmake.org/t/getting-cmake-to-use-built-in-armcc-support/11016 "2024-06-14T04:37:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sheckey](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@sheckey](https://discourse.cmake.org/u/sheckey)
#### Post date: [June 14, 2024, 4:37am UTC](https://discourse.cmake.org/t/getting-cmake-to-use-built-in-armcc-support/11016/1 "2024-06-14T04:37:47Z")

</div>

Hello!

I see that CMake has built-in ARMCC support:  
[https://gitlab.kitware.com/cmake/cmake/-/commit/035a658f4fdc8028ff19568aa2ded8b3efa70909#diff-6](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

---

<div class="post-metadata">

### Author: ![sheckey](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@sheckey](https://discourse.cmake.org/u/sheckey)
#### Post date: [June 14, 2024, 4:47am UTC](https://discourse.cmake.org/t/getting-cmake-to-use-built-in-armcc-support/11016/2 "2024-06-14T04:47:51Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [March 13, 2025, 10:07pm UTC](https://discourse.cmake.org/t/getting-cmake-to-use-built-in-armcc-support/11016/3 "2025-03-13T22:07:55Z")

</div>

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

You’ll want to take a look at [`cmake-toolchains(7)`](https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html) for information on them.
