summaryrefslogtreecommitdiff
path: root/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp
AgeCommit message (Collapse)Author
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
2021-10-10Fix typos discovered by codespellChristian Clauss
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-27cmake: Add unit test for add_custom_target() and add_dependency()Xavier Claessens
Also test commands with args separated by ';'
2019-06-28cmake: Added custom_target test caseDaniel Mensinger