aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python.py
diff options
context:
space:
mode:
authorPeter Harris <pharris@opentext.com>2020-04-23 19:27:50 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-04-24 22:19:16 +0300
commit7c68fe80083fd72a100998578417b223e3704af5 (patch)
treed4c762cee72196422651778a00b3cd68d41ea21f /mesonbuild/modules/python.py
parent8e397491b49062ca7a147ed5f8cfa19055263b7b (diff)
downloadmeson-7c68fe80083fd72a100998578417b223e3704af5.zip
meson-7c68fe80083fd72a100998578417b223e3704af5.tar.gz
meson-7c68fe80083fd72a100998578417b223e3704af5.tar.bz2
backend/vs: Fix build when not all languages have pch
It is not unheard-of for a project to use pch for C++ but not for C (because C usually builds fast enough anyway, so it's not worth the developer overhead of maintaining the pch file). This code was trying to optimize the vcxproj file size by detecting "only one language", but it was only looking at the number of pch-languages defined. This is incorrect when pch is not defined for all languages in use. Instead of tweaking the optimization further, remove it. This makes the vs backend behave more like the ninja backend.
Diffstat (limited to 'mesonbuild/modules/python.py')
0 files changed, 0 insertions, 0 deletions