meson/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp

25 lines
454 B
C++

#include "cmMod.hpp"
#include "genTest.hpp"
#include "cpyBase.txt"
#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 "Strings:\n - " + getStrCpy() + "\n - " + getStrNext() + "\n - " + getStrCpyTest();
}