Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-04-18 | Fix generator expression list problems (fixes #10288) | Daniel Mensinger | 1 | -1/+1 | |
2022-02-17 | tests: do not use a GNU bash script to check the minimum version of programs | Eli Schwartz | 2 | -10/+1 | |
find_program() can check that for us already, there's no need to require GNU bash on systems that default to other POSIX shells. Even though this is the *linuxlike* tests and a POSIX shell is guaranteed, there is actually no need to require a shell at all. It's *easier* to use the meson builtin functionality here. | |||||
2021-12-01 | cmake: Fix old style dependency lookup with imported targets | Daniel Mensinger | 2 | -0/+14 | |
This also includes some refactoring, since the alternaticve would have been to duplicate the huge traceparser target code block again. fixes #9581 | |||||
2021-10-30 | Added warning if run_command is called without the check kwarg | Volker Weißmann | 2 | -2/+2 | |
2021-10-10 | Fix typos discovered by codespell | Christian Clauss | 1 | -1/+1 | |
2021-10-06 | cmake: Implement support for interpreting link "keywords" | Daniel Mensinger | 2 | -1/+5 | |
CMakes `target_link_libraries()` supports certain keywords to only enable specific libraries for specific CMake configurations. We now try our best to replicate this for Meson dependencies. Fixes #9197 | |||||
2021-10-06 | cmake: Warn if we could use IMPORTED CMake targets | Daniel Mensinger | 2 | -1/+11 | |
2021-06-22 | tests: both_library test improvements | Daniel Mensinger | 3 | -3/+3 | |
This switches some `shared_library()` calls to `library()` and adds one new CI matrix entries for -Ddefault_library={static, both}. | |||||
2021-01-10 | cmake: add PATH logic to preliminary dep check (fixes #8133) | Daniel Mensinger | 4 | -1/+12 | |
2020-11-24 | compiler: allow non-built internal dependencies as arguments | Paolo Bonzini | 1 | -0/+6 | |
Allow methods on the compiler object to receive internal dependencies, as long as they only specify compiler/linker arguments or other dependencies that satisfy the same requirements. This is useful if you're using internal dependencies to add special "-D" flags such as -DNCURSES_WIDECHAR, -D_XOPEN_SOURCE_EXTENDED or -DGLIB_STATIC_COMPILATION. | |||||
2020-11-21 | Handle cmake dependencies which require a specified version | Jason Ekstrand | 3 | -0/+27 | |
Some CMake packages fail to find at all if no version is specified. This commit adds a cmake_version parameter to dependency() to allow you to specify the requested version. | |||||
2020-11-21 | cmVers: use env instead of hardcoding bash location | Dylan Baker | 1 | -1/+1 | |
2020-08-07 | cmake: make the traceparser permissive by default (fixes #7501) | Daniel Mensinger | 1 | -0/+3 | |
2020-07-01 | Implicit dependency fallback when a subproject wrap or dir exists | Xavier Claessens | 1 | -2/+2 | |
2020-06-22 | test: Fix linuxlike/3 linker script on Solaris 11.4 | Alan Coopersmith | 1 | -0/+6 | |
Solaris linker added support for GNU-style --version-script in Solaris 11.4, but requires adding the -z gnu-version-script-compat flag to enable it. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||||
2020-06-13 | cmake: Fix handling of path seperators (fixes #7294) | Daniel Mensinger | 4 | -1/+21 | |
2020-04-28 | tests: Avoid a CMake error by checking the CMake version | Daniel Mensinger | 2 | -7/+18 | |
2020-03-19 | cmake: Add find_package COMPONETS support | Daniel Mensinger | 2 | -3/+7 | |
2020-03-06 | dependency: Verify fallback variable consistency | Xavier Claessens | 2 | -3/+6 | |
This change made `5 dependency versions` unit test fail because now once a subproject has been configured, the fallback variable is checked to be consistent. So it has to use new subproject because 'somesub' was already configured by previous tests. | |||||
2020-03-06 | Add meson.override_dependency() | Xavier Claessens | 1 | -6/+13 | |
Similar to meson.override_find_program() but overrides the result of the dependency() function. Also ensure that dependency() always returns the same result when looking for the same dependency, this fixes cases where parts of the project could be using a system library and other parts use the library provided by a subproject. | |||||
2020-02-29 | Merge pull request #6666 from mensinda/testRefactor | Jussi Pakkanen | 6 | -16/+26 | |
Refactor run_projectests.py | |||||
2020-02-27 | Fix 'linuxlike/14 static dynamic linkage' test on Cygwin | Jon Turney | 1 | -1/+1 | |
Update the expected output from nm to match changes in binutils 2.34. | |||||
2020-02-25 | test: merge installed_files.txt into test.json | Daniel Mensinger | 4 | -13/+21 | |
2020-02-25 | test: merge test_matrix.json and setup_env.json into test.json | Daniel Mensinger | 2 | -3/+5 | |
2020-01-23 | cmake: Always Add C, CXX if no language is specified (fixes #6441) | Daniel Mensinger | 2 | -1/+38 | |
2020-01-22 | tests: Add a test case for finding ld | Dylan Baker | 1 | -0/+4 | |
2020-01-21 | Use python3 in some tests which were still using python | Sebastien Bacher | 1 | -1/+1 | |
The unversioned command is deprecated and removed from some distributions | |||||
2019-12-09 | cmake: add project language to cmakelists.txt | Michael Hirsch, Ph.D | 1 | -1/+3 | |
cmake: get language from Meson project if not specified as depedency(..., langugage: ...) deps: add threads method:cmake dependency('threads', method: 'cmake') is useful for cmake unit tests or those who just want to find threads using cmake. cmake: project(... Fortran) generally also requires C language | |||||
2019-11-26 | Fix crash when checking multi version on subproject dep | Xavier Claessens | 1 | -0/+6 | |
Also harminize a bit the logged message. | |||||
2019-11-18 | Use strict function prototypes | Michael Hirsch, Ph.D | 27 | -33/+31 | |
2019-11-17 | use '-Werror=unused-parameter' for gcc/clang on project tests and ↵ | Michael Hirsch, Ph.D | 15 | -18/+17 | |
-fimplicit-none on fortran Fortran: check for undeclared variables by forcing implicit none everywhere C/C++: check for unused parameters and return types removed unused variables from test cases ci: do missing return and unused arg check with Github Actions | |||||
2019-09-26 | cmake: Support ALIAS libraries | Daniel Mensinger | 2 | -4/+9 | |
2019-09-13 | Fix "test cases/linuxlike/14 static dynamic linkage" on Solaris | Alan Coopersmith | 1 | -5/+19 | |
Solaris doesn't ship static libraries, so the test can't rely on libz.a existing on Solaris. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | |||||
2019-07-23 | cmake: added test case for environment variables | Daniel Mensinger | 3 | -0/+16 | |
2019-07-17 | cmake: Fix empty -D due to empty strings (closes #5522) | Daniel Mensinger | 3 | -0/+37 | |
2019-07-11 | cmake: Fix dependencies with try_compile (closes #5605) | Daniel Mensinger | 1 | -0/+3 | |
2019-04-21 | Make it work on Cygwin. | Jussi Pakkanen | 2 | -9/+24 | |
2019-03-11 | Add static as keyword to find_library | Niklas Claesson | 3 | -0/+43 | |
2019-02-01 | CMake: Added support for CMAKE_MODULE_PATH and extra CMake args (closes #4779) | Daniel Mensinger | 2 | -0/+15 | |
2018-12-22 | Can specify a string to print when dep not found. Closes #2407. | Jussi Pakkanen | 1 | -2/+4 | |
2018-12-09 | Skip CMake dependency check if CMake is not installed. | Jussi Pakkanen | 1 | -0/+4 | |
2018-11-22 | CMake find_package dependency backend (#4444) | Daniel Mensinger | 4 | -0/+78 | |
2018-02-23 | Remove invalid kwarg from test cases/linuxlike/9 compiler checks with ↵ | Ran Benita | 1 | -1/+1 | |
dependencies cc.has_function() does not accept a `name` keyword argument. | |||||
2018-02-08 | Add get_pkgconfig_variable(default:) | Jon Turney | 1 | -0/+2 | |
Also use that to squelch the warning for internal uses which handle the variable missing case (just gnome at the moment) A follow up to PR #2914 | |||||
2017-12-22 | subproject handling: add two tests | Niklas Claesson | 11 | -0/+77 | |
2017-12-03 | Merge pull request #2663 from inigomartinez/pkg-config-define-variable | Jussi Pakkanen | 1 | -0/+2 | |
dependencies: Allow pkg-config to define variables | |||||
2017-12-01 | dependencies: Use prefix variable with define_variable | Iñigo MartÃnez | 1 | -1/+1 | |
The test used by the new define_variable parameter was using the includedir directory. However, in order to get a successful test, the includedir variables needs to be relative to the prefix variable, otherwise the replacemente will not have any effect. This changes uses the prefix variable itself because we can assure that it will be present. | |||||
2017-11-26 | spelling: nonexistent | Josh Soref | 1 | -1/+1 | |
2017-11-20 | dependencies: Allow pkg-config to define variables | Iñigo MartÃnez | 1 | -0/+2 | |
pkg-config enables to define variables by using the define-variable option. This allows some packages to redefine relative paths, so files can be installed in the same relative paths but under prefix. | |||||
2017-08-01 | Add thread flags to checks if needed. Closes #2106. | Jussi Pakkanen | 1 | -0/+7 | |