summaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Move <lang>_args to coredata.compiler_optionsXavier Claessens2018-06-061-28/+7
|
* Move get_args_from_envvars() from environment to compilersXavier Claessens2018-06-061-1/+1
|
* Warn when Apple bitcode support is enabled and in-useNirbheek Chauhan2018-06-061-1/+11
| | | | | We have to disable some options, so tell the user about them and point to the documentation so they can read more about it.
* Fix non-list used with FeatureNewKwargsJon Turney2018-06-051-1/+1
| | | | The type of this argument needs checking, or single strings need handling correctly.
* FeatureNew: Add decorators for new install_mode kwargsNirbheek Chauhan2018-06-051-2/+5
|
* FeatureNew: add two features that were just mergedNirbheek Chauhan2018-06-051-1/+1
|
* Use mesonlib.version_compare_many() first value only as an indicator of matchAleksey Filippov2018-06-031-1/+1
|
* Fix meson multiple version contraint errormikolajp2018-06-031-1/+1
|
* Allow substitutions in custom_target() depfile:Jon Turney2018-06-031-0/+2
| | | | Allow substitutions in custom_target() depfile: as well as in command:
* Add 'install_mode' to all installable targetsFilipe Brandenburger2018-06-021-6/+19
| | | | | | | | | This makes it possible to customize permissions of all installable targets, such as executable(), libraries, man pages, header files and custom or generated targets. This is useful, for instance, to install setuid/setgid binaries, which was hard to accomplish without access to this attribute.
* Merge pull request #3486 from Salamandar/salamandar/meson_version_introspectionJussi Pakkanen2018-06-011-0/+46
|\ | | | | Add FeatureNew and FeatureDeprecated, to alert the user of bad meson_version
| * Add 0.47.0 featuresSalamandar2018-06-011-0/+3
| |
| * Add 0.46.0 featuresSalamandar2018-06-011-0/+15
| |
| * Add 0.45.0 featuresSalamandar2018-06-011-0/+2
| |
| * Add 0.44.0 featuresSalamandar2018-06-011-0/+5
| |
| * Add 0.43.0 featuresSalamandar2018-06-011-0/+1
| |
| * Add 0.42.0 featuresSalamandar2018-06-011-0/+2
| |
| * Add 0.41.0 featuresSalamandar2018-06-011-0/+3
| |
| * Add 0.40.0 featuresSalamandar2018-06-011-0/+5
| |
| * Add 0.38.0 featuresSalamandar2018-06-011-0/+5
| |
| * Add 0.37.0 featuresSalamandar2018-06-011-1/+2
| |
| * print features reports after runSalamandar2018-06-011-0/+2
| |
| * Move target_version from coredata to mesonlibSalamandar2018-06-011-1/+1
| |
| * Add version_compare_condition_with_{min,max} for specific comparison utils.Salamandar2018-06-011-0/+1
| | | | | | | | | | Split FeatureNew and FeatureDeprecated Implement features report to be printed in some 'dev mode'
| * Add basic code for feature version detection:Salamandar2018-06-011-0/+1
| | | | | | | | | | * store target version * Add empty method decorator
* | configure_file: Add output_format kwarg (#3636)Mathieu Duponchelle2018-06-011-2/+12
|/ | | | | | * configure_file: Add output_format kwarg * docs: Reference-manual.md output_format was added in 0.47 [skip ci]
* New compiler method: check_headerNirbheek Chauhan2018-05-301-0/+26
| | | | | | | | This checks not only for existence, but also for usability of the header, which means it does a full compilation and not just pre-processing or __has_include. Fixes https://github.com/mesonbuild/meson/issues/2246
* Merge pull request #3491 from jeandet/qt_private_headersJussi Pakkanen2018-05-271-1/+1
|\ | | | | Qt private headers
| * [Qt module] Privates headers: Implemented private_headers optionAlexis Jeandet2018-04-281-1/+1
| | | | | | | | | | | | | | | | | | This commit adds private_headers option in dependency method which tells QtDependency to add private headers include path to build flags. Since there is no easy way to do this with pkg-config only qmake method supports this, so with private_headers set qmake will always be used. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
* | Mark even empty confs used appropriately.Jussi Pakkanen2018-05-251-0/+1
| |
* | Print project versionTim-Philipp Müller2018-05-231-0/+1
| |
* | interpreter: fix configure_file() message on empty configuration_data() ↵Tim-Philipp Müller2018-05-231-1/+1
| | | | | | | | | | | | [skip ci] The 'copy' kwarg will appear in the upcoming 0.47 release, not 0.46.
* | Merge pull request #3383 from mesonbuild/nirbheek/configure-file-nodataJussi Pakkanen2018-05-221-11/+39
|\ \ | | | | | | configure_file: Add a new action 'copy'
| * | configure_file: Don't use reserved keyword 'format'Nirbheek Chauhan2018-05-221-5/+5
| | | | | | | | | | | | Might lead to weird bugs
| * | configure_file: Add a new action 'copy'Nirbheek Chauhan2018-05-221-6/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will copy the file to the build directory without trying to read it or substitute values into it. Also do this optimization if the configuration_data() object passed to the `configuration:` kwarg is empty, and print a warning about it. See also: https://github.com/mesonbuild/meson/issues/1542
* | | Merge pull request #3490 from MathieuDuponchelle/dict_builtinJussi Pakkanen2018-05-221-0/+4
|\ \ \ | | | | | | | | Add new built-in type, dict
| * | | Add new built-in type, dictMathieu Duponchelle2018-05-201-0/+4
| |/ / | | | | | | | | | | | | | | | For now dicts are immutable, and do not expose any methods, they however support "native" syntax such as [] lookup, and foreach iterating, and can be printed.
* | | Add 'check' kwarg for run_commandAndrei Alexeyev2018-05-221-5/+15
|/ / | | | | | | Closes #3516
* | Generalize message about fallback failureJon Turney2018-05-171-1/+1
| | | | | | | | | | | | | | The fallback might be not used not only because it couldn't be found, but also because something went wrong trying to use it. Also, update a test which relies on the specific text
* | Improve reporting about falling back to a subproject for a dependencyJon Turney2018-05-171-2/+8
| |
* | args flattening: preserve configuration_data.set behaviourMathieu Duponchelle2018-05-091-0/+6
| | | | | | | | | | | | | | | | It seems that some projects relied on the previously buggy behaviour of accepting a 2-element list as the single argument to configuration_data.set(). Special-case this behaviour, and emit a deprecation message.
* | Interpreter: don't flatten the arguments of various methodsMathieu Duponchelle2018-05-041-1/+8
| | | | | | | | | | | | | | | | this fixes eg set_variable('foo', ['bar', 'baz']), which was previously erroring out complaining about the number of arguments. Closes #1481
* | Fix setting c_args and friends from command lineXavier Claessens2018-05-011-15/+12
|/ | | | | | | | | | 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.
* interpreter: Verify permitted kwargs on all methodsXavier Claessens2018-04-261-36/+148
|
* Don't fail on not-required not-found deps in forcefallback modeNirbheek Chauhan2018-04-211-5/+5
| | | | This involves the creation of a new dummy NotFoundDependency.
* extract_all_objects: Add 'recursive' keyword argumentXavier Claessens2018-04-181-1/+8
| | | | | | | To maintain backward compatibility we cannot add recursive objects by default. Print a warning when there are recursive objects to be pulled and the argument is not set. After a while we'll do pull recursive objects by default.
* Merge pull request #3314 from sarum9in/test_dependsJussi Pakkanen2018-04-181-11/+12
|\ | | | | Add test(depends) keyword parameter
| * Add depends keyword to test() functionAleksey Filippov2018-03-251-3/+10
| |
| * Use unholder=True instead of checking held_object attribute presenceAleksey Filippov2018-03-251-8/+2
| |
* | Add partial_dependency method to dependenciesDylan Baker2018-04-171-1/+20
| | | | | | | | | | | | | | | | This adds a new method, partial_dependency to all dependencies. These sub dependencies are copies of the original dependency, but with one or more of the attributes replaced with an empty list. This allows creating a sub dependency that has only cflags or drops link_arguments, for example.