Support str() on CMakeScanner.Token and cope with QT_LICENSE_ID


Because QT_LICENSE_ID starts with QT, like many defines (values within
a parameter, rather than the name of a parameter) it wasn't recognized
as the name of a CMake function parameter. Complicate the logic of
__is_param_name() a little bit more to cope with that. (It otherwise
caused the parameter to be included in the value of a preceding
PRIVATE_HEADER_FILTERS, for which it was an unsuitable value.)

Change-Id: I1788d8f80796b77018bb043b99b7f38e07a87a72
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit95abfb898d6b2c617fe9ec392ad3c187af89806d
parent9beed50a0c8ed472e712d0ba44ac61d158457e45
authorEdward Welbourne <edward.welbourne@qt.io>
committerEdward Welbourne <edward.welbourne@qt.io>
commit timeTue, 30 Jul 2024 10:33:25 +0200