aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-04-05 01:30:34 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-04-05 01:30:34 +0530
commit41769d0c105f071cd7dad9eafaa4092683c583c4 (patch)
tree93ed024618c42a3c825c4d9f144eb7eb181d833c /mesonbuild/environment.py
parent8ee9365717d544c5e51ccd3daf44f0c39b818057 (diff)
downloadmeson-41769d0c105f071cd7dad9eafaa4092683c583c4.zip
meson-41769d0c105f071cd7dad9eafaa4092683c583c4.tar.gz
meson-41769d0c105f071cd7dad9eafaa4092683c583c4.tar.bz2
Prohibit ':' in project names
This would make it harder to parse an option to mesonconf such as -Dfoo:bar:baz:fun=value since it could mean either of these: * For subproject 'foo:bar:baz', set the option 'fun' to 'value' * For subproject 'foo:bar', an invalid option 'baz:fun' was set To differentiate between these two we'd need to create the list of subprojects first and then parse their options later, which complicates the parsing quite a bit.
Diffstat (limited to 'mesonbuild/environment.py')
0 files changed, 0 insertions, 0 deletions