# list of available generator expression

**URL:** <https://discourse.cmake.org/t/list-of-available-generator-expression/3228>\
**Category:** Usage\
**Created:** [April 28, 2021, 1:43pm UTC](https://discourse.cmake.org/t/list-of-available-generator-expression/3228 "2021-04-28T13:43:20Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [April 28, 2021, 1:43pm UTC](https://discourse.cmake.org/t/list-of-available-generator-expression/3228/1 "2021-04-28T13:43:21Z")

</div>

similar to `cmake --help-variable-list`, is there a way to create a list of genex operator? I need this to create a set of text snippet.

---

<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:** [April 28, 2021, 3:03pm UTC](https://discourse.cmake.org/t/list-of-available-generator-expression/3228/2 "2021-04-28T15:03:00Z")

</div>

It doesn’t seem so. Please file [an issue](https://gitlab.kitware.com/cmake/cmake/-/issues) to add such a flag.

---

<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:** [April 28, 2021, 3:52pm UTC](https://discourse.cmake.org/t/list-of-available-generator-expression/3228/3 "2021-04-28T15:52:27Z")

</div>

I filed [#22126](https://gitlab.kitware.com/cmake/cmake/-/issues/22126) to add such a flag.
