Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-24 | cmake: Disable the new (CMake 3.16) PCH support | Daniel Mensinger | 2 | -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-13 | include_type: Add CMake subporject dependency method (fixes #6879) | Daniel Mensinger | 1 | -1/+2 | |
2020-10-13 | cmake: Add cross tests | Daniel Mensinger | 14 | -7/+35 | |
2020-10-04 | cmake: switch to pathlib (fixes #7322) | Daniel Mensinger | 2 | -4/+2 | |
2020-09-10 | Split tests out from 'common' which require a native compiler | Jon Turney | 4 | -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-10 | cmake: fix shared_module dependency (fixes #7715) | Daniel Mensinger | 6 | -0/+246 | |
2020-08-30 | CMake module: Allow paths of generated CMake sources for include directories | Sebastian Würl | 3 | -2/+13 | |
2020-08-09 | cmake: Detect custom command targets in compiler args | Daniel Mensinger | 3 | -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-06 | cmake: Fix failing test case. Followup to #7527. | Daniel Mensinger | 1 | -1/+1 | |
2020-08-03 | cmake: Only run the cmake_module_path test for CMake >= 3.12 | Daniel Mensinger | 2 | -16/+6 | |
2020-08-03 | cmake: resolve IMPORTED executables in custom commands (fixes #7509) | Daniel Mensinger | 3 | -1/+33 | |
2020-08-01 | run dircondensor.py | Dylan Baker | 3 | -0/+0 | |
2020-07-01 | Merge pull request #7231 from mensinda/cmOverride | Jussi Pakkanen | 9 | -0/+156 | |
cmake: Add more advanced subproject configuration options | |||||
2020-06-17 | ci: Remove PostgreSQL from PATH | Nirbheek Chauhan | 2 | -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-15 | ci: Use test.json to skip VS2017 azure tests | Daniel Mensinger | 4 | -14/+12 | |
See also #7307 #7314 #7316 cc @nirbheek | |||||
2020-06-14 | Disable failing cmake jobs on VS2017 | Nirbheek Chauhan | 2 | -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-13 | cmake: fix definitions with interface libraries (fixes #7299) | Daniel Mensinger | 6 | -0/+22 | |
2020-06-12 | modules/cmake: Fix setting install_dir | Dylan Baker | 3 | -0/+20 | |
Fixes: #7301 | |||||
2020-06-12 | cmake: Subprojects support CMAKE_PREFIX_PATH (fixes #7249) | Daniel Mensinger | 2 | -0/+14 | |
2020-06-05 | cmake: Skip MSVC like compilers, since C++11 is not supported | Daniel Mensinger | 1 | -0/+5 | |
2020-06-05 | cmake: added test case | Daniel Mensinger | 9 | -0/+151 | |
2020-06-02 | cmake: always split property lists (fixes #7228) | Daniel Mensinger | 1 | -1/+1 | |
2020-04-28 | tests: Add support for specifying tool requirements | Daniel Mensinger | 2 | -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-17 | cmake: Do not compile explicit header files | Daniel Mensinger | 10 | -0/+118 | |
2020-04-12 | Merge pull request #6963 from mensinda/cmFixCCmd | Jussi Pakkanen | 2 | -0/+19 | |
cmake: some fixes for add_custom_command | |||||
2020-04-12 | cmake: Preserve include directory order (fixes #6959) | Daniel Mensinger | 19 | -0/+134 | |
2020-04-12 | cmake: Capture stdout with UNIX pipes | Daniel Mensinger | 2 | -0/+13 | |
2020-04-12 | cmake: Fix custom command CMake list issue | Daniel Mensinger | 1 | -0/+6 | |
2020-03-29 | cmake: Only expand executable targets in COMMAND (fixes #6857) | Daniel Mensinger | 1 | -0/+4 | |
2020-03-08 | cmake: Fix build_by_default: false, install: true (fixes #6737) | Daniel Mensinger | 2 | -2/+6 | |
2020-02-25 | test: merge installed_files.txt into test.json | Daniel Mensinger | 4 | -10/+18 | |
2020-02-25 | test: merge test_matrix.json and setup_env.json into test.json | Daniel Mensinger | 2 | -9/+11 | |
2020-02-20 | cmake: Fix relative paths for add_custom_{command,target} | Daniel Mensinger | 4 | -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-19 | cmake: traceparser better handle lists | Daniel Mensinger | 1 | -2/+2 | |
2020-02-19 | cmake: Fix dependency loops in custom targets (fixes #6632) | Daniel Mensinger | 6 | -3/+42 | |
2020-02-19 | modules/cmake: Add a found() method to the cmake subproject | Dylan Baker | 2 | -1/+3 | |
Just like the native meson subproject has. | |||||
2020-02-05 | cmake: Added test case for #6566 | Daniel Mensinger | 5 | -5/+36 | |
2020-02-04 | cmake: Sanitize CMake names (fixes #6554) | Daniel Mensinger | 3 | -12/+13 | |
2020-01-24 | tests: Fix some test failures on Ubuntun 16.04 CI | Nirbheek Chauhan | 2 | -0/+2 | |
* xenial doesn't ship many dependencies, so make them all optional since we don't guarantee that everything will work * cmake/{5,6}: needs stdlib.h for EXIT_SUCCESS on GCC 5 * common/222: needs C++11, and GCC 5 doesn't understand `auto` correctly unless we explicitly enable it. * frameworks/1 boost: xenial doesn't ship boost_python3, so make it properly optional * frameworks/6 gettext: gettext can be installed without xgettext, which doesn't cause the project to fail, but the installed files list is different which causes the test to fail. * frameworks/7 gnome: gobject-introspection can't be enabled because the sanitizer unit test detects leaks in glib and fails | |||||
2019-12-29 | cmake: Use trace for missing link flags (fixes #6386) | Daniel Mensinger | 10 | -5/+78 | |
This is neccessary for static libraries, since the CMake file API does not add link flags here. | |||||
2019-12-22 | cmake: Fix obeject libraries | Daniel Mensinger | 14 | -15/+169 | |
This fixes an issue with generated sources and object libraries, as well as an issue on windows with the `link` linker and the vs backend. The last issue is resolved by building the source files multiple times to avoid extracting object files in meson. | |||||
2019-12-17 | ci cmake: Windows link.exe skip due to symbol issues | Michael Hirsch, Ph.D | 10 | -12/+16 | |
2019-12-09 | cmake test: skip case where Cmake backend not Fortran-compatible | Michael Hirsch, Ph.D | 1 | -1/+4 | |
2019-12-09 | cmake: add project language to cmakelists.txt | Michael Hirsch, Ph.D | 1 | -0/+9 | |
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-30 | cmake: Make output_target_map more robust (fixes #6208) | Daniel Mensinger | 5 | -2/+65 | |
This PR refactors the old output_target_map, which was a raw dict, into it's own class. This makes the access to the map more uniform and robust (at the cost of more lines of code). Additionally relative paths to the build directory are now also tracked for outputs. This is neccessary to corretcly distingluish files with the same name, that are in different directories. | |||||
2019-11-28 | cmake: Some minor fixup | Daniel Mensinger | 3 | -1/+20 | |
2019-11-27 | cmake: Add unit test for add_custom_target() and add_dependency() | Xavier Claessens | 3 | -0/+32 | |
Also test commands with args separated by ';' | |||||
2019-11-20 | cmake: Uniform target name handling | Daniel Mensinger | 4 | -10/+12 | |
2019-11-19 | cmake: Skip system include dir test for msvc | Daniel Mensinger | 1 | -0/+4 | |
2019-11-19 | cmake: Handle CMake system include dirs (closes #6079) | Daniel Mensinger | 1 | -1/+1 | |