diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-08-12 15:39:18 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-08-12 12:21:32 +0000 |
commit | 4b0e1850a00431fe34b4e8087865f51225fe027d (patch) | |
tree | 1a058ebf3ed5cb881ca39d825d85f0781a4a9dac /run_unittests.py | |
parent | bc64e1d6b0c0306457ae4643fc3d3d9bec51f1b9 (diff) | |
download | meson-4b0e1850a00431fe34b4e8087865f51225fe027d.zip meson-4b0e1850a00431fe34b4e8087865f51225fe027d.tar.gz meson-4b0e1850a00431fe34b4e8087865f51225fe027d.tar.bz2 |
cmake: Use a mapping when writing compiler ID
Meson and CMake compiler ids are different. This commit adds a mapping
from the meson list:
https://mesonbuild.com/Reference-tables.html#compiler-ids
to the CMake list:
https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html
The mapping is not 1-1, and not all entries are mapped, so this is
a best-effort attempt. Fallback to GNU as before to try to limp along
and hope that the build files don't rely on an accurate compiler ID.
Diffstat (limited to 'run_unittests.py')
0 files changed, 0 insertions, 0 deletions