diff options
| author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-11-28 19:54:08 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-30 22:00:18 +0200 |
| commit | 36749a1625534386c1adefcd8ced5b45144501d1 (patch) | |
| tree | 89e12b74995d6a2491752ae6763f798a487adccf /test cases/cmake/8 custom command/subprojects/cmMod/cpyNext.cpp.am | |
| parent | eed05c9045ae2f5a326bfd418006fa7fd76b7748 (diff) | |
| download | meson-36749a1625534386c1adefcd8ced5b45144501d1.tar.gz | |
cmake: Make output_target_map more robust (fixes #6208)
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.
Diffstat (limited to 'test cases/cmake/8 custom command/subprojects/cmMod/cpyNext.cpp.am')
| -rw-r--r-- | test cases/cmake/8 custom command/subprojects/cmMod/cpyNext.cpp.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/cmake/8 custom command/subprojects/cmMod/cpyNext.cpp.am b/test cases/cmake/8 custom command/subprojects/cmMod/cpyNext.cpp.am new file mode 100644 index 000000000..20a8815ae --- /dev/null +++ b/test cases/cmake/8 custom command/subprojects/cmMod/cpyNext.cpp.am @@ -0,0 +1,5 @@ +#include "cpyNext.hpp" + +std::string getStrNext() { + return "Hello Copied File -- now even more convoluted!"; +} |
