summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2018-01-02 19:07:03 +0200
committerOrgad Shaneh <orgads@gmail.com>2018-01-08 15:02:21 +0000
commitaf1a179cc8b599523ca858b1b9f55c93a734d047 (patch)
tree4639ebfd7ec5e43d76beff704fa18a18d1ff428f /src/gui
parent3e58f2b090661aab7302132cb2da661c8e227bc2 (diff)
qmake: Introduce precompile_header_c for MSVC
MSVC requires that the C PCH file is compiled (as an object) and linked if any C file is found, and the same for C++. Most qmake projects are C++. If a C++ project has a precompiled header, it is typically of C++ type, and cannot be compiled as C (for example, it contains or includes classes). Since there is no easy way to conditionally build the C PCH file only if C files are found in the project (as done for g++), we need a setting that is disabled by default. This amends 30331afda118. [ChangeLog][Tools][qmake] Introduced precompile_header_c CONFIG option for MSVC to enable precompiled header for C sources. Task-number: QTBUG-65103 Change-Id: Id9688a35ee7d9b5e4f5a846b81986cb674bc5f4e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions