summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2020-12-11 16:11:35 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2020-12-17 13:03:37 +0100
commit61943aefd68b7d88c5eb395c4e44d08a94a70ad0 (patch)
tree96afbecf1600a9763acd894d86f6c87898067e73 /src/network
parenta46a723dbab83c777e45f40a6bd685a07d60ca4e (diff)
CMake: Add detection of FEATURE_foo change by user
Unset all QT_FEATURE_foo values for every build. If any of FEATURE_foo is different of QT_FEATURE_foo, mark whole Qt build as dirty. Reset FEATURE_foo for dirty builds to the calculated value if it doesn't meet its condition. Set Qt module as NOT FOUND if its target was not created during configuration. Main issue with this approach are generated files, that became trash once the related features are disabled. This especially affects features that enable/disable Qt modules. FooConfig.cmake files are created and generate lots of warnings if feature was disabled. We may introduce a module cleanup procedure at some point. Fixes: QTBUG-85962 Pick-to: 6.0 Change-Id: Id71c1edb4027b24c6793063e40cc9d612c24ebce Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions