Generator Expressions in <LANG>_CPPCHECK Property or CMAKE_<LANG>_CPPCHECK Variable

is it possible to use generator expressions like $<TARGET_PROPERTY:COMPILE_DEFINITIONS> or $<TARGET_PROPERTY:INCLUDE_DIRECTORIES> in the definition of the <LANG>_CPPCHECK or similar target properties? If yes, would it also be possible to use generator expressions in the definition of the variable CMAKE_<LANG>_CPPCHECK, which in turn will be used to initialize the value of the <LANG>_CPPCHECK target property?
Thanks, Stefan

This was mentioned recently in Inquiring C++ standard from build target for analyzer config - possible regression, bug or missing documentation? - #7 by tambre. 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.

https://gitlab.kitware.com/cmake/cmake/-/issues/22020 may also be relevant.