Don't enable unity builds by default

But do suggest enabling them in the readme and enable them on the CI.
Having them enabled by default breaks clangd/ccls, which doesn't sound
like a great idea.

https://github.com/mesonbuild/meson/issues/8146
This commit is contained in:
Robbert van der Helm
2021-01-01 22:52:17 +01:00
parent 7c133e18da
commit 872a6aa304
4 changed files with 7 additions and 12 deletions
-3
View File
@@ -8,9 +8,6 @@ project(
# Even though Meson will complain that this option does not exist, without
# this Meson will not apply the above option to native targets
'build.cpp_std=c++2a',
# Enable Unity builds with the default 4-file units to somewhat speed up the
# compilation process
'unity=on',
],
)