diff options
| author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-06-28 13:21:58 +0200 |
|---|---|---|
| committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-06-28 13:22:38 +0200 |
| commit | 647d80f34cb09d5585fc690399e8aede0f4294b0 (patch) | |
| tree | 4aa5871a207c3a919d1c47e5bd8b551a5fa8b8a7 /test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp | |
| parent | 58064902195ab3e77b5e6294e31a9aedcf6cfe5a (diff) | |
| download | meson-647d80f34cb09d5585fc690399e8aede0f4294b0.tar.gz | |
cmake: Added custom_target test case
Diffstat (limited to 'test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp')
| -rw-r--r-- | test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp b/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp new file mode 100644 index 000000000..0fb6aa724 --- /dev/null +++ b/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp @@ -0,0 +1,17 @@ +#include "cmMod.hpp" +#include "genTest.hpp" +#include "cpyBase.hpp" + +using namespace std; + +cmModClass::cmModClass(string foo) { + str = foo + " World"; +} + +string cmModClass::getStr() const { + return str; +} + +string cmModClass::getOther() const { + return getStr() + " -- " + getStrCpy(); +} |
