2013-03-25 01:38:44 +08:00
|
|
|
#!/usr/bin/env python3
|
2012-12-26 21:39:17 +08:00
|
|
|
|
2016-01-16 05:37:22 +08:00
|
|
|
# Copyright 2016 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.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2017-07-17 23:39:36 +08:00
|
|
|
from mesonbuild import mesonmain, mesonlib
|
2016-11-23 18:30:33 +08:00
|
|
|
import sys, os, locale
|
2016-01-16 05:37:22 +08:00
|
|
|
|
2016-10-10 08:19:15 +08:00
|
|
|
def main():
|
2016-10-12 22:14:40 +08:00
|
|
|
# Always resolve the command path so Ninja can find it for regen, tests, etc.
|
|
|
|
launcher = os.path.realpath(sys.argv[0])
|
2017-07-15 21:42:38 +08:00
|
|
|
return mesonmain.run(sys.argv[1:], launcher)
|
2016-10-02 20:28:06 +08:00
|
|
|
|
2016-10-10 08:19:15 +08:00
|
|
|
if __name__ == '__main__':
|
|
|
|
sys.exit(main())
|