Snippets with `${...}`

Alex Turbov <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <CANktQtsyg_nQV_bwe3kSOL2HF6AtcoZLFhwP2y8GLHibuEo9xA@mail.gmail.com>
Hi, devs

I'm trying to add a trivial snippet to print the CMake variable:

message(STATUS "${VAR}=\${${VAR}}")

However, the second `${VAR}` won't expand :(
Any ideas, please?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.