summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a new option for building with Apple bitcode supportNirbheek Chauhan2018-06-064-17/+81
| | | | | | Normally, people would just pass -fembed-bitcode in CFLAGS, but this conflicts with -Wl,-dead_strip_dylibs and -bundle, so we need it as an option so that those can be quietly disabled.
* meson introspect: Fix --installed argumentNirbheek Chauhan2018-06-062-2/+5
| | | | | | | | | | | | | | | Traceback (most recent call last): File "meson.py", line 29, in <module> sys.exit(mesonmain.main()) File "mesonbuild/mesonmain.py", line 411, in main return run(sys.argv[1:], launcher) File "mesonbuild/mesonmain.py", line 320, in run return mintro.run(remaining_args) File "mesonbuild/mintro.py", line 234, in run list_installed(installdata) File "mesonbuild/mintro.py", line 72, in list_installed for path, installdir, aliases, unknown1, unknown2 in installdata.targets: ValueError: too many values to unpack (expected 5)
* Fix non-list used with FeatureNewKwargsJon Turney2018-06-052-2/+2
| | | | 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
|
* docs: Add a release notes snippet about FeatureNewNirbheek Chauhan2018-06-051-0/+32
|
* FeatureNew: add two features that were just mergedNirbheek Chauhan2018-06-052-2/+3
|
* FeatureNew: Print WARNING instead of ERRORNirbheek Chauhan2018-06-051-2/+2
| | | | | ERROR is reserved for non-zero exit codes. People will probably get confused.
* Add prog/lib dirs from the mingw cross-compiler to PATHNirbheek Chauhan2018-06-053-11/+53
| | | | | These directories contain DLLs that the executable may need, such as libstdc++-6.dll, libwinpthread, etc.
* .travis.yml: Add CI for armhf and mingwNirbheek Chauhan2018-06-052-21/+38
| | | | | Also split them out to their own jobs. Travis gives us 5 parallel jobs now, so we can parallelize it a bit more.
* Automatically add cross-mingw root and sysroot bindir to WINEPATHNirbheek Chauhan2018-06-053-11/+31
| | | | | This ensures that all the system DLLs required by executables such as libstdc++-6.dll can be found out of the box and tests can run
* Add MinGW-w64 64-bit to the Travis CINirbheek Chauhan2018-06-054-28/+50
| | | | Includes new cross files for MinGW-w64
* Set WINEPATH when running serialized executablesNirbheek Chauhan2018-06-054-3/+36
| | | | | | | | | | When the exe runner is `wine` or `wine32` or `wine64`, etc. This allows people to run tests with wine. Note that you also have to set WINEPATH to point to your custom prefix(es) if your tests use external dependencies. Closes https://github.com/mesonbuild/meson/issues/3620
* Update environment.pyNiklas Claesson2018-06-041-1/+1
| | | Fix typo in environment.py
* Add 'common/202 subproject array version' testAleksey Filippov2018-06-032-0/+4
|
* 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
|
* Extend test_rc_depends_files test caseJon Turney2018-06-034-5/+23
| | | | | Extend test_rc_depends_files test case to also cover depfile generation for a resource file generated by a custom_target
* Have the windows.resource_compiler() preprocesor write a depfileJon Turney2018-06-034-1/+17
| | | | | | | | When using binutils's windres, we can instruct it to invoke the preprocessor in such a way that it writes a depfile, so that dependencies on #included files are automatically tracked. Not implemented for MSVC tools, so skip testing it in that case.
* Allow substitutions in custom_target() depfile:Jon Turney2018-06-035-1/+23
| | | | Allow substitutions in custom_target() depfile: as well as in command:
* Document @PLAINNAME@ and @BASENAME@ substitutions in custom_target(command:)Jon Turney2018-06-031-0/+2
| | | | | | | | Since f3ff8fe6 (0.39.0), this has a common implementation with the same substitution in generators, but I think they existed earlier. @BASENAME@ is used internally by the custom target generated by windows.compile_resources()
* Install implib where expected if default install_dir: is explicitly givenJon Turney2018-06-032-14/+18
| | | | | Install the implib into the default import lib directory if an explicit install_dir: is given, but the value happens to be the same as the default.
* Link to our Getting-meson page instead of python.org [skip ci]Nirbheek Chauhan2018-06-031-1/+1
|
* docs: Add a section about the MSI installer [skip ci]Nirbheek Chauhan2018-06-031-2/+11
|
* Error out when someone tries to use msys/python to run MesonNirbheek Chauhan2018-06-032-0/+15
| | | | | | | | | | | | | | This mistake seems to be a very common hiccup for people trying to use Meson with MSYS2 on Windows from git or with pip. msys/python uses POSIX paths with '/' as the root instead of a drive like `C:/`, and also does not identify the platform as Windows. This means that configure checks will be wrong, and many build tools will be unable to parse the paths that are returned by functions in Python such as shutil.which. Closes https://github.com/mesonbuild/meson/issues/3653
* docs: Expand section on how to install Python3 and MesonNirbheek Chauhan2018-06-034-11/+58
| | | | With screenshots!
* Fix #mesondefine token error message formattingMarvin Scholz2018-06-031-1/+1
|
* test extra paths: move test to windowsMathieu Duponchelle2018-06-028-0/+0
|
* test extra paths: add extra paths for all build targetsMathieu Duponchelle2018-06-021-2/+2
|
* test extra paths: add test caseMathieu Duponchelle2018-06-028-0/+51
|
* test serialisation: determine windows extra paths ..Mathieu Duponchelle2018-06-021-0/+2
| | | | | | | .. for executable arguments too. This makes it possible to pass an executable to a test, which can then run it in an appropriate environment.
* Add release-notes snippet for the extended install_modeFilipe Brandenburger2018-06-021-0/+8
|
* Update reference manual to include 'install_mode' where supportedFilipe Brandenburger2018-06-021-0/+18
|
* Add extended unit test for 'install_mode'Filipe Brandenburger2018-06-021-0/+33
| | | | | | This new unit test will use the targets in '198 install_mode' and confirm that every file and directory gets the expected mode, ensuring that the setting is properly applied at install time.
* Add test case for 'install_mode'Filipe Brandenburger2018-06-0211-0/+83
| | | | | | | | | This is a simple test case, checking for installed_files.txt, which just makes sure the syntax is accepted. Manual tests confirmed the permissions were set correctly. A follow up commit adds a unit test based on this directory.
* Make windows_proof_rmtree resilient to read-only filesFilipe Brandenburger2018-06-021-0/+13
| | | | | | | | | | Start the process by traversing the tree and adding the S_IWRITE and S_IREAD bits to the file's mode (which are also preserved on Windows.) This fixes windows_proof_rmtree's inability to remove read-only files, which was uncovered in testing the new `install_mode` feature. Tested: ./run_tests.py passes on Linux, appveyor CI on Windows passes.
* Add 'install_mode' to all installable targetsFilipe Brandenburger2018-06-024-24/+51
| | | | | | | | | 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.
* Check mode of file, not subdirectory, in install_subdir.Filipe Brandenburger2018-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | When using an install_mode in install_subdir(), that should apply to the files and not to the directory tree. Otherwise, an install_mode not including the executable bit will make the tree inaccessible, since directories need it to be traversed. If the mode needs to be applied to both files and directories, then install_subdir() is only useful to install files with the executable bit set, which is not really that useful... So default to just using the umask for the directories and applying install_mode to the files only. This can be reviewed in the future, possibly by adding a separate install_dir_mode attribute, or perhaps adding an optional fourth field to FileMode with the mode for directories (this is similar to how RPM handles specifying mode of directory trees recursively added to the package.)
* Fix assertRebuiltTarget with VS backendJon Turney2018-06-011-2/+0
| | | | | | | | | For the VS backend, assertRebuiltTarget() asserts the that target is both recompiled and relinked. This isn't correct for test_rc_depends_files, as changing the rc script's dependencies only causes the executable to be relinked, and not to also have it's source recompiled. assertRebuiltTarget already gets this right for the ninja backend.
* Clarify how Windows resource compiler uses the include pathJon Turney2018-06-011-2/+3
|
* Also run Windows unit tests on CygwinJon Turney2018-06-011-1/+2
|
* Add a depend_files: keyword to windows.compile_resources()Jon Turney2018-06-015-2/+22
| | | | | | | | Expose depend_files: from the custom_target this creates. This is the change suggested in #2815, with tests and documentation added. Fixes #2789 (duplicate #2830)
* Merge pull request #3486 from Salamandar/salamandar/meson_version_introspectionJussi Pakkanen2018-06-0114-6/+276
|\ | | | | Add FeatureNew and FeatureDeprecated, to alert the user of bad meson_version
| * Add 0.47.0 featuresSalamandar2018-06-012-0/+4
| |
| * Add 0.46.0 featuresSalamandar2018-06-015-2/+23
| |
| * Add 0.45.0 featuresSalamandar2018-06-013-0/+8
| |
| * Add 0.44.0 featuresSalamandar2018-06-013-1/+8
| |
| * Add 0.43.0 featuresSalamandar2018-06-012-0/+2
| |
| * Add 0.42.0 featuresSalamandar2018-06-017-0/+16
| |
| * Add 0.41.0 featuresSalamandar2018-06-013-1/+8
| |
| * Add 0.40.0 featuresSalamandar2018-06-014-1/+15
| |