summaryrefslogblamecommitdiff
path: root/template/bin.gpr
blob: db20fba1034fe1fd26ba60f292913f4172445b9f (plain) (tree)





















                                                             
abstract project bin is

   CFLAGS := External_As_List ("CFLAGS", " ");

   for Languages use ("C");

   package Compiler is
      for Default_Switches ("C") use ("-std=c11",
                                      "-Wall",
                                      "-Wextra",
                                      "-Wpedantic") & CFLAGS;
   end Compiler;

   package Linker is
      for Trailing_Switches ("C") use ("-lbsd");
   end Linker;

   package Install is
      for Install_Project use "false";
   end Install;

end bin;