Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-08-03 | Merge remote-tracking branch 'upstream/master' into lang-enumlang-enum | John Ericson | 1 | -23/+8 | |
2020-08-01 | mconf/mintro: use authoritative list of options from coredata | Dylan Baker | 1 | -13/+1 | |
This splits the directory options and non-directory options into two dicts, and then merges them later to maintain API. | |||||
2020-06-18 | mconf: Fix regression when printing all options | Xavier Claessens | 1 | -8/+8 | |
This is a regression introduced by #5489 | |||||
2020-04-21 | WIP: Create enum to use instead of strings for language | John Ericson | 1 | -3/+3 | |
2020-04-20 | Compiler options per lang | John Ericson | 1 | -6/+11 | |
A current rather untyped storage of options is one of the things that contributes to the options code being so complex. This takes a small step in synching down by storing the compiler options in dicts per language. Future work might be replacing the langauge strings with an enum, and defaultdict with a custom struct, just like `PerMachine` and `MachineChoice`. | |||||
2019-11-06 | Fix typos found by codespell | Wolfgang Stöggl | 1 | -1/+1 | |
- Typos were found by codespell v1.16.0 | |||||
2019-10-22 | mconf: Fix printing options when there is no compiler/project options | Xavier Claessens | 1 | -3/+3 | |
Closes: #6087 | |||||
2019-10-18 | mconf: Group all options per subproject and align all groups | Xavier Claessens | 1 | -72/+115 | |
Also hide value of yielding subproject options to make it clear the value must be set on the main project. | |||||
2019-09-13 | mconf: Fix meson configure crash (fixes #5909) | Daniel Mensinger | 1 | -2/+2 | |
2019-08-06 | Do not print build and host settings when compiling natively. | Jussi Pakkanen | 1 | -8/+14 | |
2019-06-05 | Per machine do 'build.' and '' option prefixes | John Ericson | 1 | -5/+8 | |
See the docs/ changes for details. | |||||
2019-05-20 | Use dependency cache | Dylan Baker | 1 | -1/+2 | |
2019-05-16 | mconf: Don't change the type of coredata.deps | Dylan Baker | 1 | -1/+1 | |
Which is an OrderedDict, but mconf changes to a plain dict. This will work fine with Python 3.7+, but not with 3.5 and 3.6 | |||||
2019-05-13 | ast: fix #5376 | Daniel Mensinger | 1 | -1/+2 | |
2019-02-17 | mconf: Limit the line length of the choices column | Daniel Mensinger | 1 | -1/+15 | |
2019-02-12 | Merge pull request #4743 from dcbaker/native-file-extended | Jussi Pakkanen | 1 | -2/+1 | |
Extend native files to store install path information | |||||
2019-02-12 | Merge pull request #4826 from mensinda/confDefOpts | Jussi Pakkanen | 1 | -11/+48 | |
mconf: Use introspection to print the project default options (fixes #2543) | |||||
2019-02-11 | allow setting directory locations in a native file | Dylan Baker | 1 | -2/+1 | |
This allows the person running configure (either a developer, user, or distro maintainer) to keep a configuration of where various kinds of files should end up. | |||||
2019-02-05 | Fixed some code issues | Daniel Mensinger | 1 | -5/+9 | |
2019-02-02 | Never access environment.properties downstream | John Ericson | 1 | -1/+5 | |
Instead use coredata.compiler_options.<machine>. This brings the cross and native code paths closer together, since both now use that. Command line options are interpreted just as before, for backwards compatibility. This does introduce some funny conditionals. In the future, I'd like to change the interpretation of command line options so - The logic is cross-agnostic, i.e. there are no conditions affected by `is_cross_build()`. - Compiler args for both the build and host machines can always be controlled by the command line. - Compiler args for both machines can always be controlled separately. | |||||
2019-01-25 | mconf: Use introspection to print the project default options (fixes #2543) | Daniel Mensinger | 1 | -14/+47 | |
2019-01-07 | Merge pull request #4732 from mensinda/introMesonInfo2 | Jussi Pakkanen | 1 | -0/+4 | |
mintro: Added `meson-info.json` introspection information about the latest meson run | |||||
2019-01-06 | use same code for printing options in mconf and msetup | Nicolas Schneider | 1 | -11/+10 | |
Also, options are now responsible for providing a suitable printable representation of their value instead of handling this at the caller. | |||||
2019-01-06 | Added meson-info.json | Daniel Mensinger | 1 | -0/+4 | |
2019-01-06 | Merge pull request #4547 from mensinda/introIncDirs | Jussi Pakkanen | 1 | -0/+2 | |
mintro: Save introspection to disk and --targets modifications | |||||
2019-01-06 | fix meson configure exception when install_umask is not an int | Nicolas Schneider | 1 | -1/+1 | |
2019-01-06 | Split the monolithic introspection file into chunks | Daniel Mensinger | 1 | -1/+1 | |
2019-01-06 | Update intro dump on meson configure | Daniel Mensinger | 1 | -0/+2 | |
2018-11-24 | Sorted arrays alphabetically | Daniel Mensinger | 1 | -11/+11 | |
2018-11-06 | Recover when coredata cannot be loaded | Xavier Claessens | 1 | -0/+1 | |
Write command line options into a separate file to be able to reconfigure from scatch in the case coredata cannot be loaded. The most common case is when we are reconfiguring with a newer meson version. This means that we should try as much as possible to maintain backward compatibility for the cmd_line.txt file format. The main difference with a normal reconfigure is it will use new default options values and will read again environment variables like CFLAGS, etc. | |||||
2018-10-04 | Use a single ArgumentParser for all subcommands | Xavier Claessens | 1 | -8/+2 | |
This has the adventage that "meson --help" shows a list of all commands, making them discoverable. This also reduce the manual parsing of arguments to the strict minimum needed for backward compatibility. | |||||
2018-08-22 | Remove useless __main__ in files that cannot be executed | Xavier Claessens | 1 | -5/+0 | |
2018-06-06 | mconf: Take only one optional builddir arg that defaults to '.' | Xavier Claessens | 1 | -11/+2 | |
2018-06-06 | coredata: Stop setting default option values as argparse attribute | Xavier Claessens | 1 | -1/+1 | |
All options are now the projectoptions list, regardless of how they got defined in the command line. This also delays setting builtin option values until the main project() default options are parsed to simplify the code. This is possible because we already delayed setting the backend after parsing main project() in a previous commit. | |||||
2018-06-06 | mconf: Special case UserUmaskOption to print value in octal notation | Xavier Claessens | 1 | -0/+2 | |
2018-06-06 | mconf: Reduce code duplication and avoid missing builtin options | Xavier Claessens | 1 | -81/+42 | |
This ensure all option groups are printed the same way. Also ensure that we cannot miss some builtin options by taking the list of all builtin options and excluding only directories/testing options. | |||||
2018-06-06 | mconf: Fix print when choices is a string instead of list | Xavier Claessens | 1 | -1/+4 | |
2018-06-06 | mconf: Set prefix first because other options depends on it | Xavier Claessens | 1 | -3/+3 | |
2018-06-06 | Move to coredata some methods handling options | Xavier Claessens | 1 | -22/+3 | |
Those methods only use coredata object, so better just move them as a coredata method. | |||||
2018-06-06 | mconf: Small tweaks when printing configuration | Xavier Claessens | 1 | -1/+2 | |
2018-06-06 | Fix issues found by flake8 | Xavier Claessens | 1 | -1/+0 | |
2018-06-06 | Move <lang>_args to coredata.compiler_options | Xavier Claessens | 1 | -21/+0 | |
2018-05-01 | Fix setting c_args and friends from command line | Xavier Claessens | 1 | -2/+3 | |
When passing more than one -Dc_args it should override the value instead of appending. This is how all other options works. Value should be split on spaces using shlex just like it does with CFLAGS environment variable. Fixes #3473. | |||||
2018-04-27 | Fix --warnlevel being renamed to --warning-level in latest release | Xavier Claessens | 1 | -14/+1 | |
2018-04-26 | Remove duplicated definition of -D cmdline arg | Xavier Claessens | 1 | -6/+4 | |
2018-04-25 | Add install_umask to list of options of `meson configure` | Filipe Brandenburger | 1 | -1/+1 | |
Tested: $ ./meson.py configure --help [...] --install-umask INSTALL_UMASK Default umask to apply on permissions of installed files (default: 022). | |||||
2018-04-17 | mconf: accept -- options like `meson` does | Dylan Baker | 1 | -0/+15 | |
I'm not really happy about this to be honest, I don't like having both -- and -D options, I think it's stupid to have two ways to do exactly the same thing, especially since we then have to validate that someone hasn't passed the argument both ways. However, other people want this, so here it is. Fixes #969 | |||||
2018-03-27 | Always build parser objects anew to avoid leaking old data. | Jussi Pakkanen | 1 | -7/+9 | |
2018-03-10 | Refactor: Add log.error and log.exception to reduce code duplication. | Jukka Laurila | 1 | -3/+2 | |
2018-03-04 | mconf: Make it pep8 compliant | Sander Sweers | 1 | -2/+7 | |