diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-01-05 21:36:25 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-01-05 21:36:25 +0200 |
commit | a44b6c4038f1c197d9b61fb92ff1a7fb21eb38a8 (patch) | |
tree | 5047dde6ec7771ccb8960a3eb08443daa7332c0f /meson.py | |
parent | 8b56f3596319682e095f7d9f43f468caee84b904 (diff) | |
download | meson-a44b6c4038f1c197d9b61fb92ff1a7fb21eb38a8.zip meson-a44b6c4038f1c197d9b61fb92ff1a7fb21eb38a8.tar.gz meson-a44b6c4038f1c197d9b61fb92ff1a7fb21eb38a8.tar.bz2 |
Start work on command line conf tool.
Diffstat (limited to 'meson.py')
-rwxr-xr-x | meson.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2012 Jussi Pakkanen +# Copyright 2012-2014 Jussi Pakkanen # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ import environment, interpreter import backends, build import mlog, coredata -from coredata import version, MesonException +from coredata import MesonException usage_info = '%prog [options] source_dir build_dir' -parser = OptionParser(usage=usage_info, version=version) +parser = OptionParser(usage=usage_info, version=coredata.version) build_types = ['plain', 'debug', 'optimized'] buildtype_help = 'build type, one of: %s' % ', '.join(build_types) |