diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-07-18 22:47:58 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-07-18 22:52:22 +0300 |
commit | e3b0145e73b266a7fc3c1e5a494dbdd9cc1f0114 (patch) | |
tree | 49fdabd2e89638a1bdab95f3d5f1a426cc536fd6 /mesonbuild/compilers/compilers.py | |
parent | efba19387292054b0c9c72d9e445992a4e3e473c (diff) | |
download | meson-e3b0145e73b266a7fc3c1e5a494dbdd9cc1f0114.zip meson-e3b0145e73b266a7fc3c1e5a494dbdd9cc1f0114.tar.gz meson-e3b0145e73b266a7fc3c1e5a494dbdd9cc1f0114.tar.bz2 |
Can upgrade build directory from an old version.builddirupgrade
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 25835a3..cefc741 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1,4 +1,4 @@ -# Copyright 2012-2017 The Meson development team +# Copyright 2012-2018 The Meson development team # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -72,6 +72,18 @@ cflags_mapping = {'c': 'CFLAGS', 'vala': 'VALAFLAGS', 'rust': 'RUSTFLAGS'} +compiler_envvars = {'c': 'CC', + 'cpp': 'CXX', + 'java': 'JAVAC', + 'd': 'DC', + 'objc': 'OBJC', + 'objcpp': 'OBJCXX', + 'fortran': 'FC', + 'rust': 'RUSTC', + 'vala': 'VALAC', + 'cs': 'CSC', + } + # All these are only for C-linkable languages; see `clink_langs` above. def sort_clink(lang): |