Update to not use deprecated mesonconf

pull/2430/head
David Strauss 7 years ago committed by Jussi Pakkanen
parent a0c6d3dbb6
commit 52a4f19832
  1. 2
      docs/markdown/FAQ.md

@ -144,7 +144,7 @@ This defaults to `c++11` on GCC compilers. Suppose you want to use `c++14` inste
project('foobar', 'cpp', default_options : ['cpp_std=c++14']) project('foobar', 'cpp', default_options : ['cpp_std=c++14'])
``` ```
But when you recompile, it still uses `c++11`. The reason for this is that default options are only looked at when you are setting up a build directory for the very first time. After that the setting is considered to have a value and thus the default value is ignored. To change an existing build dir to `c++14`, either reconfigure your build dir with `mesonconf` or delete the build dir and recreate it from scratch. But when you recompile, it still uses `c++11`. The reason for this is that default options are only looked at when you are setting up a build directory for the very first time. After that the setting is considered to have a value and thus the default value is ignored. To change an existing build dir to `c++14`, either reconfigure your build dir with `meson configure` or delete the build dir and recreate it from scratch.
## Does wrap download sources behind my back? ## Does wrap download sources behind my back?

Loading…
Cancel
Save