aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-07-01 14:43:51 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-07-01 20:50:47 +0530
commit23d29ffb1404f7111a2ed5713a03f91068d41ea9 (patch)
tree0f7c8984663bf346bd831e0f82ef71e2f42bfec1 /mesonbuild/compilers.py
parent2f8eaa6ed41c0d10f2c27ce91aaf4f6d8f4e5abb (diff)
downloadmeson-23d29ffb1404f7111a2ed5713a03f91068d41ea9.zip
meson-23d29ffb1404f7111a2ed5713a03f91068d41ea9.tar.gz
meson-23d29ffb1404f7111a2ed5713a03f91068d41ea9.tar.bz2
vs: Set all compiler/linker options correctly
These need to be set via XML tags and not passed directly as AdditionalOptions. Otherwise the project will end up with inconsistent compiler options and the build will fail. Since Meson internals assume that these will be set via a command-line invocation, we need to detect the presence of various flags in buildtype_args and buildtype_link_args and set the correct options in the vcxproj file. Note that this means different configurations (debug/release/etc) cannot be enumerated in the vcxproj/sln files and chosen by the user at build time because arbitrary build characteristics can depend on that. The only way to support that is by doing a full parse and conversion of Meson build files (for all build options) to vcxproj files.
Diffstat (limited to 'mesonbuild/compilers.py')
0 files changed, 0 insertions, 0 deletions