aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/asm.py
diff options
context:
space:
mode:
authorMykola Dolhyi <0xb000@gmail.com>2024-06-27 19:10:02 +0300
committerMykola Dolhyi <0xb000@gmail.com>2024-06-27 19:22:29 +0300
commit7516508547524c53d99178f26d2df5f0cd6e8396 (patch)
tree16e5c09ebb11028c3c5dc9d3d10867308fbd492c /mesonbuild/compilers/asm.py
parent7b43a2e19613f3702935872b21b1020f7d8c6a9b (diff)
downloadmeson-7516508547524c53d99178f26d2df5f0cd6e8396.zip
meson-7516508547524c53d99178f26d2df5f0cd6e8396.tar.gz
meson-7516508547524c53d99178f26d2df5f0cd6e8396.tar.bz2
Refactor duplicated quoting code for XCode backend
XCode project file contains dictionary-like structures. Strings for the mapped values have to be quoted if these include special characters. Previously this quoting was happening in-place, before adding a new value to the dictionary. This produce big amounts of boilerplate error-prone code. For example if there are targets whose names contain special characters (grpc++ in my case), produced file will be invalid. This moves checking and quoting subroutine to the PbxDictItem class, eliminating the need to do this on the caller side. [Kin](https://github.com/Serchinastico/Kin) tool was used to validate produced PBXProj files.
Diffstat (limited to 'mesonbuild/compilers/asm.py')
0 files changed, 0 insertions, 0 deletions