summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhigles2_p_p.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-08-27 14:11:00 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-09-11 11:30:56 +0200
commit96bdcdacbc09b1f3091a39b83fe394af1ccb41ea (patch)
treeccca51911ad88c3cb05a9205e30201e53c57733d /src/gui/rhi/qrhigles2_p_p.h
parent756c65d3676d2b3ce5c7b56145e5f0f7cf7178ad (diff)
CMake: Implement configure -ltcg
This configure switch sets the CMake variable CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG> per release config to ON. The feature 'ltcg' is enabled if any of the variables CMAKE_INTERPROCEDURAL_OPTIMIZATION, CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG> are ON. In order to implement the check, configurejson2cmake had to be extended to be able to write extra CMake code before and after the feature definition. This extra code can be added to a feature mapping below the keys "cmakePrelude" and "cmakeEpilogue". Task-number: QTBUG-85373 Change-Id: Ia2eb907edcf087f137977a9b090705397f83eb05 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhigles2_p_p.h')
0 files changed, 0 insertions, 0 deletions