aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
AgeCommit message (Collapse)AuthorFilesLines
2020-01-31typing: Fix Any --> T.AnyDaniel Mensinger1-1/+1
2020-01-30Small cleanups for the LLVM dependency class (#6548)Dylan Baker1-1/+6
2020-01-30Bugfix: sanitize_dir: use pathlib to handle case-insensitive filesystems (#6398)Michael Hirsch, Ph.D1-11/+20
2020-01-30-Fixed Renesas RX Family compiler to work with latest meson, updated ↵alanNz4-3/+13
cross-file, fixed assembly file use
2020-01-30Qt5: Do not use system qmake if not specified in cross fileXavier Claessens2-36/+32
There is a comment saying we do it because we used to do it. But it's wrong and lead to using system library when cross compiling. Factor out the code we use to find pkg-config, because it is the same use-case.
2020-01-29deps: Fix prelimenary CMake lookup.Daniel Mensinger1-3/+7
The CMake config files / modules have to be checked case insensitive in some cases, otherwise some dependencies will not be found even though they are installed.
2020-01-29dependencies: Add comment to the packages dictDylan Baker1-0/+5
2020-01-29dependencies: Use a factory for cursesDylan Baker2-25/+17
2020-01-29dependencies: Rename _add_sub_dependency2 to _add_sub_dependencyDylan Baker3-21/+7
Since the original _add_sub_dependency is no longer in use.
2020-01-29dependencies: Use a factory for fortran coarraysDylan Baker2-40/+42
2020-01-29dependencies: Split detect_compiler out of dependencyDylan Baker1-19/+24
We need it for dependency factories as well.
2020-01-29dependencies: Use a DependencyFactory for threadsDylan Baker6-43/+42
This lets us make a number of uses of threads safer, because we can use the threads_factory instead of the ThreadDependency
2020-01-29dependencies: Use a factory for NetCDFDylan Baker2-43/+19
This uses a custom factory because that makes more sense here, since we need logic to decide what pkg-config files to look for
2020-01-29dependencies: Remove now dead codeDylan Baker1-24/+0
Mostly this is the metagprogramming that ConfigToolDependency used to do, but doesn't need anymore.
2020-01-29dependencies: Use a custom factory for shadercDylan Baker2-29/+42
2020-01-29dependencies: Add a decorator for dependency factory functionsDylan Baker1-0/+27
This helps make them a bit more self documenting, and remove a bit of the boilerplate they would otherwise have to each implement.
2020-01-29dependencies: Use DependencyFactory for sdl2Dylan Baker2-30/+14
2020-01-29dependencies: Use DependencyFactory for glDylan Baker2-18/+10
2020-01-29dependencies: Use DependencyFactory for gpgmeDylan Baker2-21/+12
2020-01-29dependencies: Use DependencyFactory for LibGcryptDylan Baker2-21/+12
2020-01-29dependencies: Use DependencyFactory for libwmfDylan Baker2-19/+12
2020-01-29dependencies: Use DependencyFactory for cupsDylan Baker2-32/+15
2020-01-29dependencies: Use DependencyFactory for python3Dylan Baker2-28/+18
2020-01-29dependencies: Use DependencyFactory for libpcapDylan Baker2-33/+23
2020-01-29dependencies: Use DependencyFactory for gmockDylan Baker2-22/+25
2020-01-29dependencies: Use a DependencyFactory for gtestDylan Baker2-22/+23
2020-01-29dependencies: Use DependencyFactory for VulkanDylan Baker2-20/+14
2020-01-29dependencies: Use a DependencyFactory for LLVMDylan Baker3-31/+24
2020-01-29dependencies: Add a sub_dependency_method that takes a list ofDylan Baker1-0/+16
dependencies This will be useful for adding dependencies that come from a factory, and thus are a list.
2020-01-29dependencies: Add a DependencyFactory classDylan Baker1-5/+82
Instead of using dependencies as their own factories, which is rather odd, lets just add a dedicated DependencyFactory class. This should be able to take over for a lot of the factory type dependencies really easily, and reduce the amount of code we have.
2020-01-29dependencies: Make Dependency initializer signatures matchDylan Baker12-58/+55
Currently PkgConfig takes language as a keyword parameter in position 3, while the others take it as positional in position 2. Because most dependencies don't actually set a language (they use C style linking), using a positional argument makes more sense. ExtraFrameworkDependencies is even more different, and duplicates some arguments from the base ExternalDependency class. For later changes I'm planning to make having all of the dependencies use the same signature is really, really helpful.
2020-01-29dependencies/base: Split process_method_kw out of DependencyDylan Baker4-49/+50
I want to use this in a new class as well, that doesn't descend from Dependency.
2020-01-28mintro: use interpreter data for buildsystem-files (fixes #6390)Daniel Mensinger3-19/+16
2020-01-28backend: refactor: set self.interpreter in the constructorDaniel Mensinger9-34/+47
2020-01-28compilers: Use /Zi instead of /ZI with clang-clDylan Baker1-4/+13
Clang-cl doesn't support /ZI, so we need to use either /Zi or /Z7, which both do the same thing for clang-cl (though not for msvc) Fixes #6414
2020-01-28compilers: Split ClangCL and MSVC mixinsDylan Baker3-38/+75
Instead of checking the compiler id inside the VisualStudioLikeCompiler class, this creates two subclasses that each represent the divergent behavior of the two compilers
2020-01-28Merge pull request #6455 from makise-homura/elbrus_0.53.0Dylan Baker5-10/+44
Elbrus support is broken in 0.53.0, so fixing it
2020-01-27Always disable interpolation for ini parsers.Jussi Pakkanen2-2/+2
2020-01-27Bringing back defines in Elbrus C compiler to simplify environment.pymakise-homura2-12/+7
2020-01-27Fix Sider errorsmakise-homura1-1/+1
2020-01-27ObjC/ObjC++ compilers are not available for Elbrus, so don't failmakise-homura1-5/+13
2020-01-27Remove RTTI option from get_option_compile_args() for Elbrus compilermakise-homura1-0/+13
2020-01-27Add missing functions to Elbrus compiler classmakise-homura1-0/+11
2020-01-27Fix missing 'defines' argumet for Elbrus compilermakise-homura5-10/+17
...But somehow it still remains in C++ compiler.
2020-01-27Merge pull request #6432 from mensinda/cmExeRefactorJussi Pakkanen5-68/+155
cmake: Refactor CMakeExecutor and CMakeTraceParser
2020-01-27Merge pull request #6423 from dcbaker/declare-dependency-variablesJussi Pakkanen4-10/+36
Add ability to set and query arbitrary variables on declare_dependency objects
2020-01-27Check for bad timestamps that cause eternal configure loops.Jussi Pakkanen1-0/+17
2020-01-26cmake: Add support for --trace-redirectDaniel Mensinger2-1/+14
2020-01-26cmake: Refactor CMakeExecutor and CMakeTraceParserDaniel Mensinger5-68/+142
This moves most of the execution code from the CMakeInterpreter into CMakeExecutor. Also, CMakeTraceParser is now responsible for determining the trace cmd arguments.
2020-01-26Support multiple args to message() and warning()Xavier Claessens1-15/+15