diff options
Diffstat (limited to 'meson/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp')
-rw-r--r-- | meson/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meson/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp b/meson/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp new file mode 100644 index 000000000..e4d531829 --- /dev/null +++ b/meson/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp @@ -0,0 +1,24 @@ +#include "cmMod.hpp" +#include "genTest.hpp" +#include "cpyBase.hpp" +#include "cpyNext.hpp" +#include "cpyTest.hpp" +#include "cmModLib.hpp" + +#ifndef FOO +#error FOO not declared +#endif + +using namespace std; + +cmModClass::cmModClass(string foo) { + str = foo + " World"; +} + +string cmModClass::getStr() const { + return str; +} + +string cmModClass::getOther() const { + return "Srings:\n - " + getStrCpy() + "\n - " + getStrNext() + "\n - " + getStrCpyTest(); +} |