diff options
Diffstat (limited to 'examples/example_02_libbtb/libbtb.cc')
| -rw-r--r-- | examples/example_02_libbtb/libbtb.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/example_02_libbtb/libbtb.cc b/examples/example_02_libbtb/libbtb.cc new file mode 100644 index 0000000..f3d45b8 --- /dev/null +++ b/examples/example_02_libbtb/libbtb.cc @@ -0,0 +1,12 @@ +#include <BTBKit/JSONManifestBuilder.h> + +#ifndef _WIN32 +static auto kPath = "./posix.json"; +#else +static auto kPath = ".\win64.json"; +#endif + +int main(int argc, char** argv) { + auto builder = new BTB::JSONManifestBuilder(); + return builder->buildTarget(strlen(kPath), kPath); +} |
