From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- .../cmake/1 basic/subprojects/cmMod/cmMod.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meson/test cases/cmake/1 basic/subprojects/cmMod/cmMod.hpp (limited to 'meson/test cases/cmake/1 basic/subprojects/cmMod/cmMod.hpp') diff --git a/meson/test cases/cmake/1 basic/subprojects/cmMod/cmMod.hpp b/meson/test cases/cmake/1 basic/subprojects/cmMod/cmMod.hpp new file mode 100644 index 000000000..4445e1f53 --- /dev/null +++ b/meson/test cases/cmake/1 basic/subprojects/cmMod/cmMod.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include "cmmodlib++_export.h" +#include + +#if MESON_MAGIC_FLAG != 42 && MESON_MAGIC_FLAG != 21 +#error "Invalid MESON_MAGIC_FLAG" +#endif + +class CMMODLIB___EXPORT cmModClass { +private: + std::string str; + +public: + cmModClass(std::string foo); + + std::string getStr() const; +}; -- cgit 1.2.3-korg