libdb/test/sql_codegen/chk.bdb
2011-09-13 13:44:24 -04:00

10 lines
297 B
Bash

#!/bin/sh
BDB_DIR="../../build_unix"
rm -rf ./numismatics
$BDB_DIR/db_sql_codegen -i data/all_data_types.sql -o sample.c -v sample_verify.c
cc -g -I$BDB_DIR -L$BDB_DIR/.libs -o sample sample.c sample_verify.c $BDB_DIR/libdb.a -lpthread
mkdir numismatics
LD_LIBRARY_PATH=$BDB_DIR/.libs ./sample