summaryrefslogtreecommitdiff
path: root/test cases/cmake/8 custom command/subprojects/cmMod
AgeCommit message (Collapse)Author
2024-10-11test: avoid need for explict CMake minimumscivision
This mitigates maintenance burden as CMake minimum version isn't relevant for these tests. CMake >= 3.31 warns if CMake minimum version is less than 3.10. ref: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9875
2024-01-16cmake: Fix blunt target filtering skipping GENERATED dependenciesL. E. Segovia
GENERATED files can be used as dependencies for other targets, so it's misguided (at best) to filter them with a blunt whitelist. However, there does exist an extension that needs to be skipped: on Windows + MSVC, CMake will by default try to generate a Visual Studio project, and there dependencies with no inputs are instead tied to a dummy .rule input file which is created by the generation step. The fileapi will still report those, so it will cause Meson to bail out when it realises there's no such file in the build tree. Fixes #11607
2022-05-24cmake: Add test caseDaniel Mensinger
2021-10-10Fix typos discovered by codespellChristian Clauss
2020-08-30CMake module: Allow paths of generated CMake sources for include directoriesSebastian Würl
2020-08-09cmake: Detect custom command targets in compiler argsDaniel Mensinger
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-04-12cmake: Capture stdout with UNIX pipesDaniel Mensinger
2020-04-12cmake: Fix custom command CMake list issueDaniel Mensinger
2020-03-29cmake: Only expand executable targets in COMMAND (fixes #6857)Daniel Mensinger
2020-02-20cmake: Fix relative paths for add_custom_{command,target}Daniel Mensinger
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 Mensinger
2020-02-19cmake: Fix dependency loops in custom targets (fixes #6632)Daniel Mensinger
2019-11-30cmake: Make output_target_map more robust (fixes #6208)Daniel Mensinger
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-28cmake: Some minor fixupDaniel Mensinger
2019-11-27cmake: Add unit test for add_custom_target() and add_dependency()Xavier Claessens
Also test commands with args separated by ';'
2019-06-28cmake: Skip ARGS key in COMMANDDaniel Mensinger
2019-06-28cmake: Added custom_target test caseDaniel Mensinger