summaryrefslogtreecommitdiff
path: root/test cases/linuxlike/13 cmake dependency
AgeCommit message (Collapse)Author
2024-07-16Fix the zlib-ng failing tests, for realTristan Partin
I failed to properly account for the case in which the two string are completely equal.
2024-07-15tests: short-circuit tests that require cmake, fasterEli Schwartz
We have two ways of marking a test as skipped: - raise MESON_SKIP_TEST - declare that the tools it needs in test.json are unavailable Doing the former requires performing the configure stage including e.g. language setup. In several cases we weren't even getting this far anyway since we used both mechanisms (the cmake category has a category-wide skip for this, in fact). In some case, we were missing test.json declaring it skippable; add this.
2024-07-15Fix failing tests for zlib-ngTristan Partin
Fedora, at the very least, now packages zlib-ng as zlib. This means the version reported for the dependency is now X.Y.Z.zlib-ng by pkgconfig whereas the test expected X.Y.Z. Make the version check work for both regular zlib and zlib-ng.
2023-08-30Disable failing test on cygwin due to broken cmakeCharles Brunet
See https://gitlab.kitware.com/cmake/cmake/-/issues/25200.
2023-04-11fix various spelling issuesJosh Soref
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-04-18Fix generator expression list problems (fixes #10288)Daniel Mensinger
2022-02-17tests: do not use a GNU bash script to check the minimum version of programsEli Schwartz
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-01cmake: Fix old style dependency lookup with imported targetsDaniel Mensinger
This also includes some refactoring, since the alternaticve would have been to duplicate the huge traceparser target code block again. fixes #9581
2021-10-30Added warning if run_command is called without the check kwargVolker Weißmann
2021-10-10Fix typos discovered by codespellChristian Clauss
2021-10-06cmake: Implement support for interpreting link "keywords"Daniel Mensinger
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-06cmake: Warn if we could use IMPORTED CMake targetsDaniel Mensinger
2021-01-10cmake: add PATH logic to preliminary dep check (fixes #8133)Daniel Mensinger
2020-11-21Handle cmake dependencies which require a specified versionJason Ekstrand
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-21cmVers: use env instead of hardcoding bash locationDylan Baker
2020-08-07cmake: make the traceparser permissive by default (fixes #7501)Daniel Mensinger
2020-06-13cmake: Fix handling of path seperators (fixes #7294)Daniel Mensinger
2020-04-28tests: Avoid a CMake error by checking the CMake versionDaniel Mensinger
2020-03-19cmake: Add find_package COMPONETS supportDaniel Mensinger
2020-02-25test: merge test_matrix.json and setup_env.json into test.jsonDaniel Mensinger
2020-01-23cmake: Always Add C, CXX if no language is specified (fixes #6441)Daniel Mensinger
2019-12-09cmake: add project language to cmakelists.txtMichael Hirsch, Ph.D
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-18Use strict function prototypesMichael Hirsch, Ph.D
2019-11-17use '-Werror=unused-parameter' for gcc/clang on project tests and ↵Michael Hirsch, Ph.D
-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-26cmake: Support ALIAS librariesDaniel Mensinger
2019-07-23cmake: added test case for environment variablesDaniel Mensinger
2019-07-17cmake: Fix empty -D due to empty strings (closes #5522)Daniel Mensinger
2019-07-11cmake: Fix dependencies with try_compile (closes #5605)Daniel Mensinger
2019-02-01CMake: Added support for CMAKE_MODULE_PATH and extra CMake args (closes #4779)Daniel Mensinger
2018-12-09Skip CMake dependency check if CMake is not installed.Jussi Pakkanen
2018-11-22CMake find_package dependency backend (#4444)Daniel Mensinger