aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/cmake/2 advanced/subprojects/cmMod/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/cmake/2 advanced/subprojects/cmMod/main.cpp')
-rw-r--r--meson/test cases/cmake/2 advanced/subprojects/cmMod/main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/cmake/2 advanced/subprojects/cmMod/main.cpp b/meson/test cases/cmake/2 advanced/subprojects/cmMod/main.cpp
new file mode 100644
index 000000000..77fab68ab
--- /dev/null
+++ b/meson/test cases/cmake/2 advanced/subprojects/cmMod/main.cpp
@@ -0,0 +1,11 @@
+#include <iostream>
+#include <zlib.h>
+#include "lib/cmMod.hpp"
+
+using namespace std;
+
+int main(void) {
+ cmModClass obj("Hello (LIB TEST)");
+ cout << obj.getStr() << " ZLIB: " << zlibVersion() << endl;
+ return 0;
+}