diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2022-04-23 14:14:35 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-05-24 18:00:49 -0400 |
commit | 35b35220656de73b730948eb0c30a898dfc13d4e (patch) | |
tree | 109657f3c0ba017a4ed7749476e6a37437f9d0a3 | |
parent | ac31eb49d6da60c3c13b3f63d9e8638369a3986e (diff) | |
download | meson-35b35220656de73b730948eb0c30a898dfc13d4e.zip meson-35b35220656de73b730948eb0c30a898dfc13d4e.tar.gz meson-35b35220656de73b730948eb0c30a898dfc13d4e.tar.bz2 |
cmake: Add test case
-rw-r--r-- | test cases/cmake/8 custom command/subprojects/cmMod/CMakeLists.txt | 4 | ||||
-rw-r--r-- | test cases/cmake/8 custom command/subprojects/cmMod/mycpy/.gitkeep | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test cases/cmake/8 custom command/subprojects/cmMod/CMakeLists.txt b/test cases/cmake/8 custom command/subprojects/cmMod/CMakeLists.txt index e27a469..0185ddc 100644 --- a/test cases/cmake/8 custom command/subprojects/cmMod/CMakeLists.txt +++ b/test cases/cmake/8 custom command/subprojects/cmMod/CMakeLists.txt @@ -157,3 +157,7 @@ add_custom_target(clang-format COMMAND clang-format -i cmMod.cpp) add_dependencies(cmModLib args_test_cmd tgtCpyTest4) add_dependencies(args_test_cmd macro_name_cmd;gen;mycpy) + +# Reproduce https://github.com/mesonbuild/meson/issues/10244 +add_custom_target(mycpy.all) +add_dependencies(mycpy.all mycpy) diff --git a/test cases/cmake/8 custom command/subprojects/cmMod/mycpy/.gitkeep b/test cases/cmake/8 custom command/subprojects/cmMod/mycpy/.gitkeep new file mode 100644 index 0000000..22c19ce --- /dev/null +++ b/test cases/cmake/8 custom command/subprojects/cmMod/mycpy/.gitkeep @@ -0,0 +1 @@ +# Required to reproduce https://github.com/mesonbuild/meson/issues/10244 |