From 647d80f34cb09d5585fc690399e8aede0f4294b0 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Fri, 28 Jun 2019 13:21:58 +0200 Subject: cmake: Added custom_target test case --- .../cmake/8 custom command/subprojects/cmMod/cmMod.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp (limited to 'test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp') 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(); +} -- cgit v1.2.3