aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-05-14Fix fortran tests without test() callsBĂĄlint Aradi2-2/+4
2017-05-13vala: Fix typos and cover dependencies without pkg-config file in docsGuillaume Poirier-Morency1-3/+13
2017-05-13vala: Cover 'find_library' usage and be more explicit for default install ↔Guillaume Poirier-Morency1-1/+13
directories in docs
2017-05-13Skip ObjectiveC/C++ tests if ObjC compiler is not availableTim-Philipp MĂŒller1-1/+21
2017-05-13Merge pull request #1788 from aradi/fix-fortran-scanJussi Pakkanen5-4/+49
Fix scanning of Fortran sources created during configuration
2017-05-13ninja: Also include Vala headers in generated headersOle André Vadla RavnÄs8-1/+64
2017-05-13Implement executable(gui_app:) for gcc on WindowsJon Turney2-0/+7
Note that gui_app: is currently ignored when using the ninja backend with VS compilers, so I guess you get the default linker behaviour, which the documentation says is guessing the subsystem depending on if a main or WinMain symbol exists...
2017-05-13Merged rust_args branch.Jussi Pakkanen5-5/+17
2017-05-13Turn feature test into a proper unit testBĂĄlint Aradi4-9/+22
2017-05-12Merge pull request #1669 from mesonbuild/distJussi Pakkanen8-0/+240
Create a dist target
2017-05-12Make vs_module_defs: do something for gcc on Windows as wellJon Turney7-17/+19
Module definition files may be useful when building with gcc on Windows also (e.g. if the existing build uses them, if exports are aliased, if we were retro enough to export by ordinal, etc.) Add the .def file to the link command line when using gcc on Windows Run the appropriate windows tests irrespective of compiler.
2017-05-12Merge pull request #1735 from dcbaker/list-of-filesJussi Pakkanen8-15/+39
Allow passing a list of Files to CustomTarget. Closes #1720
2017-05-12setup.py: dependencies is now a directoryNirbheek Chauhan1-0/+1
2017-05-12Add test for fortran dependency scanning fixBĂĄlint Aradi3-0/+31
2017-05-12Fix scanning of Fortran sources created during configurationBĂĄlint Aradi1-4/+5
2017-05-12Add test and release notes.Jussi Pakkanen3-1/+58
2017-05-11Flatten SharedLibary link_args.Dylan Baker2-3/+3
2017-05-11Merge pull request #1631 from QuLogic/split-dependenciesJussi Pakkanen7-1815/+1966
Split dependencies.py into separate files
2017-05-11docs: make the required argument for find_program stick out morePeter Hutterer1-4/+6
2017-05-11Update Compiler-properties.mdliberforce1-6/+6
Fix table formatting
2017-05-11appveyor: Don't run appveyor for docs only changesDylan Baker1-0/+4
Appveyor takes a *long* time to run (~45 minutes per commit currently), and it does no parallelism. It is possible to skip merge requests that only touch documentation, this commit adds that support. Because Appveyor (and Travis) test a merge of the pull request into master and not the branch itself this will only skip builds that only touch docs, and not pull requests that do both doc and non-doc changes.
2017-05-11Allow passing a list of Files to CustomTarget. Closes #1720Dylan Baker5-3/+22
2017-05-11Use flatten for link targets. Fixes #1764Dylan Baker4-8/+13
2017-05-11Flatten should always return a listDylan Baker1-1/+1
Currently if flatten() is passed a non-list object, it returns that object. This is surprising behavior, and prone to causing serious and numerous problems, since many objects implement the iterable interface, and thus can be used in cases a list is expected, but with undesirable results.
2017-05-11Initialise submodules.Jussi Pakkanen3-15/+53
2017-05-11Test created tarball by doing a full build + test + install cycle.Jussi Pakkanen2-24/+70
2017-05-11Created a dist target. Closes #877.Jussi Pakkanen4-0/+99
2017-05-11Merge pull request #1761 from keszybz/docsJussi Pakkanen2-31/+33
Some simple doc fixes
2017-05-11Now cracks a noble heart. Good night sweet prince:Jussi Pakkanen2-88/+1
And flights of angels sing thee to thy rest!
2017-05-11Update Running-Meson.mdliberforce1-1/+1
Fix parameter escapement
2017-05-11Update Syntax.mdliberforce1-1/+1
Fix variable name
2017-05-11pkgconfig: add suppport for custom variables during generationPeter Hutterer17-3/+159
Usage: pkgconfig.generate( ... description : 'A library with custom variables.', variables : ['foo=bar', 'datadir=${prefix}/data'] ) The variables 'prefix', 'libdir' and 'includedir' are reserved, meson will fail with an error message. Variables can reference each other with the pkgconfig notation, e.g. variables : ['datadir=${prefix}/data', 'otherdatadir=${datadir}/other'] meson does not check this for correctness or that the referenced variable exists, we merely keep the same order as specified.
2017-05-09Make base imports explicit.Elliott Sales de Andrade1-1/+3
2017-05-09Tweak formatting of base dependency file.Elliott Sales de Andrade1-14/+21
2017-05-09Split misc dependencies into their own file.Elliott Sales de Andrade3-360/+390
2017-05-09Split apart platform-specific dependenciesElliott Sales de Andrade3-25/+48
2017-05-09Split development-related deps into their own file.Elliott Sales de Andrade3-273/+302
2017-05-09Split UI-related into a separate file.Elliott Sales de Andrade3-530/+575
Some of these are a bit bigger than just UI libraries, but this division seems close enough.
2017-05-09Move dependencies.py into a subdirectory.Elliott Sales de Andrade2-5/+20
2017-05-09docs: add puncuation to description of compiler object functionsZbigniew Jędrzejewski-Szmek1-17/+17
2017-05-09docs: mention $DESTDIR in add_install_script description, add punctuationZbigniew Jędrzejewski-Szmek1-13/+15
Although not stricly necessary, it is good to mention $DESTDIR in the explanation for add_install_script, since it might not be obvious for the user that it is available. Also add punctuation to be consistent. v2: - fix "witht" typo - reword $DESTDIR description to say that it is inherited from the environment - also describe $MESONINTROSPECT
2017-05-09Merge pull request #1610 from ↔Jussi Pakkanen3-23/+25
valum-framework/vala-use-generate-basic-compiler-args Use 'generate_basic_compiler_args' for Vala targets
2017-05-09vs: surround project guid with '{}'Nicolas Schneider1-4/+4
Closes #1672.
2017-05-09Merge pull request #1751 from centricular/fix-cached-depsJussi Pakkanen10-69/+134
Fix caching of external dependencies of various types
2017-05-09Merge pull request #1758 from dcbaker/llvm-cpp-blacklistJussi Pakkanen2-3/+8
LLVM cpp blacklist
2017-05-09Upgrade CI image to Ubuntu Zesty.Jussi Pakkanen2-4/+4
2017-05-09dependencies: Only store found deps in the cacheNirbheek Chauhan1-30/+7
This simplifies everything since it means we will always search for the dependency again on the system if it wasn't found. This is particularly important when running `ninja reconfigure` with an edited PKG_CONFIG_PATH to point to a path that contains more pkg-config files.
2017-05-09dependencies: Fix two more edge-cases in dependency searchingNirbheek Chauhan2-13/+25
Includes tests for both of them.
2017-05-09Completely overhaul caching of external dependenciesNirbheek Chauhan5-34/+103
The old caching was a mess of spaghetti code layered over pasta code. The new code is well-commented, is clear about what it's trying to do, and uses a blacklist of keyword arguments instead of a whitelist while generating identifiers for dep caching which makes it much more robust for future changes. The only side-effect of forgetting about a new keyword argument would be that the dependency would not be cached unless the values of that keyword arguments were the same in the cached and new dependency. There are also more tests which identify scenarios that were broken earlier.
2017-05-09project tests: Also regen before buildingNirbheek Chauhan3-12/+18
This actually caught a cached-dependency related bug for me that the test-time regen did not. I also increased the ninja wait time to 1 second because that's actually how long you need to sleep to be guaranteed that a change will be detected. Must poke upstream about https://github.com/ninja-build/ninja/issues/371