Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 1 | /* |
2 | * Copyright OpenEmbedded Contributors | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: MIT | ||||
5 | */ | ||||
6 | |||||
7 | #include "cpp-example-lib.hpp" | ||||
8 | |||||
9 | #include <iostream> | ||||
10 | |||||
11 | int main() | ||||
12 | { | ||||
13 | auto cpp_example = CppExample(); | ||||
14 | std::cout << "C++ example linking " << cpp_example.get_string() << std::endl; | ||||
15 | std::cout << "Linking json-c version " << cpp_example.get_json_c_version() << std::endl; | ||||
16 | cpp_example.print_json(); | ||||
17 | return 0; | ||||
18 | } |