# Generator Expressions in \<LANG\>\_CPPCHECK Property or CMAKE\_\<LANG\>\_CPPCHECK Variable

**URL:** https://discourse.cmake.org/t/generator-expressions-in-lang-cppcheck-property-or-cmake-lang-cppcheck-variable/7670
**Category:** Code
**Created:** [March 13, 2023, 5:05pm UTC](https://discourse.cmake.org/t/generator-expressions-in-lang-cppcheck-property-or-cmake-lang-cppcheck-variable/7670 "2023-03-13T17:05:49Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [March 13, 2023, 7:29pm UTC](https://discourse.cmake.org/t/generator-expressions-in-lang-cppcheck-property-or-cmake-lang-cppcheck-variable/7670/2 "2023-03-13T19:29:43Z")

</div>

This was mentioned recently in [Inquiring C++ standard from build target for analyzer config - possible regression, bug or missing documentation? - #7 by tambre](https://discourse.cmake.org/t/inquiring-c-standard-from-build-target-for-analyzer-config-possible-regression-bug-or-missing-documentation/7584/7). Right now, generator expressions are not supported in `<LANG>_CPPCHECK`, but as suggested in that other discussion, it likely wouldn’t be a big change to add that support if someone wanted to take a look at it.

---

_[View the full topic](https://discourse.cmake.org/t/generator-expressions-in-lang-cppcheck-property-or-cmake-lang-cppcheck-variable/7670)._
