aboutsummaryrefslogtreecommitdiff
path: root/test cases/cmake
AgeCommit message (Collapse)AuthorFilesLines
2022-08-10cmake: Add rule relaxations for CMake subprojectsDaniel Mensinger1-1/+1
fixes #10566
2022-05-24cmake: Add test caseDaniel Mensinger2-0/+5
2022-05-10Require CMake 3.14 for all tests that use the cmake moduleSimon McVittie4-17/+3
Older versions are not supported by the cmake module since 0.62. This avoids having to hard-code the linux-bionic-gcc CI job as being unable to run these tests, which leaves other older environments like Debian 10 still trying to run them (and failing). Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-04-01Fix CMake error messageDaniel Mensinger1-2/+2
2022-03-07Merge pull request #9743 from mensinda/cmakeGeneratorFixedJussi Pakkanen3-0/+47
cmake: Add TARGET_ generator expression support (fixes #9305)
2022-02-27cmake: configure_package_config_file can now take a dictAndrea Pappacoda1-3/+1
2022-01-23cmake: require CMake 3.19 to get rid of Whitelist restrictionsDaniel Mensinger1-0/+5
2022-01-23cmake: Add TARGET_ generator expression support (fixes #9305)Daniel Mensinger2-0/+42
2021-10-10Fix typos discovered by codespellChristian Clauss2-2/+2
2021-07-05cmake: Only use the `cm_` prefix when it is actually required (fixes #8955)Daniel Mensinger6-13/+18
2021-06-22Fixed unused-parameter/strict-prototypes warnings.Justin Handville3-4/+4
2021-06-22Added test case to test fix for issue 8910.Justin Handville5-0/+84
2021-05-29cmake: Update test caseDaniel Mensinger5-3/+31
2021-02-05tests/cmake: disable some tests that don't work correctly when cross compilingDylan Baker3-0/+12
2021-01-04cmake: fix missing languages from CMake (fixes #8132)Daniel Mensinger6-0/+49
2020-12-29cmake: fix -framework dependencies (fixes #8045)Daniel Mensinger2-0/+19
2020-10-24cmake: Disable the new (CMake 3.16) PCH supportDaniel Mensinger2-0/+8
Subprojects that use the CMake PCH feature will cause compilation/linker errors. The CMake PCH support should thus be disabled until this can be properly translated to meson.
2020-10-13include_type: Add CMake subporject dependency method (fixes #6879)Daniel Mensinger1-1/+2
2020-10-13cmake: Add cross testsDaniel Mensinger14-7/+35
2020-10-04cmake: switch to pathlib (fixes #7322)Daniel Mensinger2-4/+2
2020-09-10Split tests out from 'common' which require a native compilerJon Turney4-0/+45
Split out tests (and parts of tests) which require a native compiler from the 'common' suite to a new suite called 'native', so we can selectively avoid running those tests when only a cross-compiler is available. Also move test '211 cmake module' to 'cmake' suite, since it appears that the way we use cmake requires a native compiler.
2020-09-10cmake: fix shared_module dependency (fixes #7715)Daniel Mensinger6-0/+246
2020-08-30CMake module: Allow paths of generated CMake sources for include directoriesSebastian Würl3-2/+13
2020-08-09cmake: Detect custom command targets in compiler argsDaniel Mensinger3-0/+19
This is required to make `-include /path/to/custom/target.hpp` work. This setup is used by wxWidgets and this PR is required to use wxWidgets as a CMake subproject.
2020-08-06cmake: Fix failing test case. Followup to #7527.Daniel Mensinger1-1/+1
2020-08-03cmake: Only run the cmake_module_path test for CMake >= 3.12Daniel Mensinger2-16/+6
2020-08-03cmake: resolve IMPORTED executables in custom commands (fixes #7509)Daniel Mensinger3-1/+33
2020-08-01run dircondensor.pyDylan Baker3-0/+0
2020-07-01Merge pull request #7231 from mensinda/cmOverrideJussi Pakkanen9-0/+156
cmake: Add more advanced subproject configuration options
2020-06-17ci: Remove PostgreSQL from PATHNirbheek Chauhan2-12/+0
It's one of the causes of the cmake test failures, and it's also plaguing the VS2019 jobs now because of the image update.
2020-06-15ci: Use test.json to skip VS2017 azure testsDaniel Mensinger4-14/+12
See also #7307 #7314 #7316 cc @nirbheek
2020-06-14Disable failing cmake jobs on VS2017Nirbheek Chauhan2-0/+14
These only fail when building with msvc/clang-cl on the VS2017-Win2016 image. See: https://github.com/mesonbuild/meson/issues/7307
2020-06-13cmake: fix definitions with interface libraries (fixes #7299)Daniel Mensinger6-0/+22
2020-06-12modules/cmake: Fix setting install_dirDylan Baker3-0/+20
Fixes: #7301
2020-06-12cmake: Subprojects support CMAKE_PREFIX_PATH (fixes #7249)Daniel Mensinger2-0/+14
2020-06-05cmake: Skip MSVC like compilers, since C++11 is not supportedDaniel Mensinger1-0/+5
2020-06-05cmake: added test caseDaniel Mensinger9-0/+151
2020-06-02cmake: always split property lists (fixes #7228)Daniel Mensinger1-1/+1
2020-04-28tests: Add support for specifying tool requirementsDaniel Mensinger2-2/+8
Adds the `tools` section to `tests.json` to specify requirements for the tools in the environment. All tests that fail at least one tool requirements check are skipped.
2020-04-17cmake: Do not compile explicit header filesDaniel Mensinger10-0/+118
2020-04-12Merge pull request #6963 from mensinda/cmFixCCmdJussi Pakkanen2-0/+19
cmake: some fixes for add_custom_command
2020-04-12cmake: Preserve include directory order (fixes #6959)Daniel Mensinger19-0/+134
2020-04-12cmake: Capture stdout with UNIX pipesDaniel Mensinger2-0/+13
2020-04-12cmake: Fix custom command CMake list issueDaniel Mensinger1-0/+6
2020-03-29cmake: Only expand executable targets in COMMAND (fixes #6857)Daniel Mensinger1-0/+4
2020-03-08cmake: Fix build_by_default: false, install: true (fixes #6737)Daniel Mensinger2-2/+6
2020-02-25test: merge installed_files.txt into test.jsonDaniel Mensinger4-10/+18
2020-02-25test: merge test_matrix.json and setup_env.json into test.jsonDaniel Mensinger2-9/+11
2020-02-20cmake: Fix relative paths for add_custom_{command,target}Daniel Mensinger4-2/+15
Do this by tracking CMAKE_CURRENT_{SOURCE,BINARY}_DIR variables. This is achieved by injecting CMake code with CMAKE_PROJECT_INCLUDE and overriding some builtin functions with a wrapper that adds additional trace information.
2020-02-19cmake: traceparser better handle listsDaniel Mensinger1-2/+2