<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello!<div><br></div><div>I noticed, since 3.10, there's been several new additions to the query key list of this command.</div><div>I understand the idea behind this command is to request information that is non-trivial to access.</div><div>For example, FQDN takes a little bit longer than the others.</div><div><br></div><div>I think ideally, all variables could be accessed the same way - with a ${key} expansion.</div><div>Simple is better.</div><div><br></div><div>I found what I think is the class of a variable definition on GitHub.</div><div><br></div><div><a href="https://github.com/tay10r/CMake/blob/dc70284c811a3183295371903d965658a9d2f8e0/Source/cmDefinitions.h#L44">https://github.com/tay10r/CMake/blob/dc70284c811a3183295371903d965658a9d2f8e0/Source/cmDefinitions.h#L44</a><br></div><div><br></div><div>If you generalize the class a bit more, you can create non-trivial variables that make queries</div><div>when they are expanded. I made a gist demonstrating what I mean.</div><div><br></div><div><a href="https://gist.github.com/tay10r/ba9f77008581732cc074c35a55d264e7">https://gist.github.com/tay10r/ba9f77008581732cc074c35a55d264e7</a></div></div></div></div>