From 3ed0edef137c4b577646c35e0f5beddfb9f57555 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 8 May 2025 21:57:52 +1200 Subject: Improved project files with common switches, debug info, and optimisation --- asndfile.gpr | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'asndfile.gpr') diff --git a/asndfile.gpr b/asndfile.gpr index 07c41c5..52a80de 100644 --- a/asndfile.gpr +++ b/asndfile.gpr @@ -1,22 +1,24 @@ +with + + "proj/common"; + + library project Asndfile is for Languages use ("Ada", "C"); - - for Source_Dirs use ("src"); - for Object_Dir use "obj"; - for Library_Dir use "lib"; + for Source_Dirs use ("src"); + for Object_Dir use "obj"; + for Library_Dir use "lib"; for Library_Name use "asndfile"; for Library_Kind use "dynamic"; - - package Compiler is - for Default_Switches ("Ada") use ("-gnaty4aAbcefhiklM100nprt"); - for Default_Switches ("C") use ("-Wall", "-Wextra"); - end Compiler; + package Builder renames Common.Builder; + package Compiler renames Common.Compiler; + package Binder renames Common.Binder; end Asndfile; -- cgit