aboutsummaryrefslogtreecommitdiff
path: root/asndfile.gpr
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-05-08 21:57:52 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2025-05-08 21:57:52 +1200
commit3ed0edef137c4b577646c35e0f5beddfb9f57555 (patch)
treee15a36a74d3edead096c2a1a74b80dae785ce5d1 /asndfile.gpr
parent0c774f937f169f31f9b11136d3375901597f9269 (diff)
Improved project files with common switches, debug info, and optimisation
Diffstat (limited to 'asndfile.gpr')
-rw-r--r--asndfile.gpr20
1 files changed, 11 insertions, 9 deletions
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;