The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
519 B
32 lines
519 B
5 years ago
|
#include "cmMod.hpp"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
#if __cplusplus < 201402L
|
||
|
#error "At least C++14 is required"
|
||
|
#endif
|
||
|
|
||
|
#ifndef MESON_GLOBAL_FLAG
|
||
|
#error "MESON_GLOBAL_FLAG was not set"
|
||
|
#endif
|
||
|
|
||
|
#ifndef MESON_SPECIAL_FLAG1
|
||
|
#error "MESON_SPECIAL_FLAG1 was not set"
|
||
|
#endif
|
||
|
|
||
|
#ifndef MESON_SPECIAL_FLAG2
|
||
|
#error "MESON_SPECIAL_FLAG2 was not set"
|
||
|
#endif
|
||
|
|
||
|
cmModClass::cmModClass(string foo) {
|
||
|
str = foo + " World";
|
||
|
}
|
||
|
|
||
|
string cmModClass::getStr() const {
|
||
|
return str;
|
||
|
}
|
||
|
|
||
|
int cmModClass::getInt() const {
|
||
|
return MESON_MAGIC_INT;
|
||
|
}
|