summaryrefslogtreecommitdiffstats
path: root/util/cmake/json_parser.py
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2025-01-13 15:30:15 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2025-02-11 12:23:28 +0100
commitf1ac316191c010b1389f6f3549c9f0b4424b9936 (patch)
tree810283ed9ef34f21ae0ebb53aeb883d07a1b4708 /util/cmake/json_parser.py
parent3a5c62d4af9cb07fba065de8a2d1b97531b6fd30 (diff)
CMake: Decouple Qt specific handling from SBOM implementation
The SBOM functions so far had a lot of Qt-specific logic inside them. Decouple this logic into separate Qt-specific functions or explicitly guard the code with Qt-specific handling options, to prepare for a cleaner SBOM public API. The generic functions then call the Qt-specific ones if various internal options are set. This approach is used, rather than directly passing values to the generic functions because: - we have cases where we need to recursively pass the values all the way down to all recursively created attribution targets - some of the logic needs to know about values before and after qt processing, and this could be achieved with something like lambdas but it's not worth the complexity Pick-to: 6.8 6.9 Task-number: QTBUG-122899 Change-Id: I4399c41f4d976f20b16a0bb0c674d4f07ee1ccd4 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'util/cmake/json_parser.py')
0 files changed, 0 insertions, 0 deletions