summaryrefslogtreecommitdiffstats
path: root/test cases/cmake/5 object library/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/cmake/5 object library/main.cpp')
-rw-r--r--test cases/cmake/5 object library/main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/test cases/cmake/5 object library/main.cpp b/test cases/cmake/5 object library/main.cpp
new file mode 100644
index 0000000..9933ab4
--- /dev/null
+++ b/test cases/cmake/5 object library/main.cpp
@@ -0,0 +1,11 @@
+#include <stdlib.h>
+#include <iostream>
+#include "libA.hpp"
+#include "libB.hpp"
+
+using namespace std;
+
+int main(void) {
+ cout << getLibStr() << " -- " << getZlibVers() << endl;
+ return EXIT_SUCCESS;
+}