with "gnade_odbc_ref";
project GNADE_ODBC_Example_Build is

   for Languages use ("Ada");
   for Source_Dirs use ("tmp/odbc-example-prep");
   for Object_Dir use "tmp/odbc-example-obj";

   for Main use ("demo.adb");

   package Compiler is
      Base_Switches :=
        ("-g",
         "-O2",
         "-gnat05",
         "-gnatfno",
         "-gnatwa",
         "-gnatVa");

      for Default_Switches ("Ada") use Base_Switches;

   end Compiler;

   --  Note that we don't need any linker options here; 'with
   --  gnadeodbc_ref' pulls in libgnadeodbc.so, and a 'pragma
   --  Linker_Options' in gnu.db.sqlcli pulls in libodbc.

end GNADE_ODBC_Example_Build;
