-gen none works as expected
[sqlgg.git] / example / build
blobc604ed61cce59292ecaebc1fb4b6ff0366fae4df
1 #! /bin/bash
3 set -e -u
5 sqlgg -gen cxx test.sql > test_cxx_gen.hpp
6 sqlgg -gen caml test.sql > test_caml_gen.ml
8 g++ -g -DSQLGG_DEBUG -o test_cxx test_cxx.cpp -lsqlite3
10 ocamlc -w Alse -g -o test_caml -I ../impl -I +sqlite3 sqlite3.cma ../impl/sqlgg_sqlite3.ml ../impl/sqlgg_traits.ml test_caml_gen.ml test_caml.ml