# Any plans for CMake dictionaries?

**URL:** https://discourse.cmake.org/t/any-plans-for-cmake-dictionaries/3517
**Category:** Development
**Created:** [June 7, 2021, 12:01pm UTC](https://discourse.cmake.org/t/any-plans-for-cmake-dictionaries/3517 "2021-06-07T12:01:25Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![hex](https://discourse.cmake.org/user_avatar/discourse.cmake.org/hex/32/363_2.png) [@hex](https://discourse.cmake.org/u/hex)
#### Post date: [June 7, 2021, 12:45pm UTC](https://discourse.cmake.org/t/any-plans-for-cmake-dictionaries/3517/3 "2021-06-07T12:45:40Z")

</div>

this discussion might be relevant:

> [@Why not to add \`dict()\` to CMake?](https://discourse.cmake.org/t/why-not-to-add-dict-to-cmake/896):
>
> Hi, It really pains to store and manipulate key-value pairs nowadays in CMake. Why not add dict() command for that? dict(INSERT \<dict\_var\> \<key\> \<value\>) dict(REMOVE \<dict\_var\> \<key\>) dict(GET \<dict\_var\> \<key\> \<output\_variable\>) foreach(key value IN DICTS \<dict\_var\>...) ... Even that minimal commands could help A LOT

---

_[View the full topic](https://discourse.cmake.org/t/any-plans-for-cmake-dictionaries/3517)._
