summaryrefslogtreecommitdiffstats
path: root/tests/auto/network
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-09-06 14:44:11 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-09-14 19:53:49 +0200
commit3df618b8d96e45e515df8268a1789d361894736d (patch)
treed5b33430d9552fa342ef20783b91da9a13867681 /tests/auto/network
parent2e58e242b436d0d462748546d4451f6365de4743 (diff)
CMake: Avoid creation of XXX_other_files targets
The XXX_other_files targets were introduced to collect files that are added to resources and expose them to IDEs. This resembles what we did in qmake with OTHER_FILES but has the downside of cluttering the IDE with additional targets. The idiomatic way of exposing such files to IDEs is to add them as source files to the related target and mark them as HEADER_FILE_ONLY. We must avoid marking source files as HEADER_FILE_ONLY that are additionally used in SOURCES. This can only be done reliably when finalizing a target. Targets that are not finalized, for example targets that are added with add_executable instead of qt_add_executable, are handled as before: for those we still create the XXX_other_files target. The same applies if CMake < 3.19 is used. Task-number: QTBUG-99808 Change-Id: I7220e91d726e9409d557d5cd33d171528b9d4a63 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/network')
0 files changed, 0 insertions, 0 deletions