#!/bin/bash
export TEST_NAME=pdf2xml
case $(uname -m) in
    x86_64)  clang -framework Foundation -I ../../../include -L ../../../lib -lfsdk_oc_mac64 -Xlinker -rpath -Xlinker ../../../lib ${TEST_NAME}.mm -o ${TEST_NAME};;
    arm64) clang -framework Foundation -I ../../../include -L ../../../lib -lfsdk_oc_macarm -Xlinker -rpath -Xlinker ../../../lib ${TEST_NAME}.mm -o ${TEST_NAME};;
esac
./${TEST_NAME}
