summaryrefslogtreecommitdiff
path: root/example.gpr
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2023-06-19 22:15:44 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2023-06-19 22:15:44 +1200
commit74af58587359206ef92249d18e4830c40cac0bc5 (patch)
tree8dfae06813f8e9f41787e45e7e31354b017f5713 /example.gpr
Initial commit
Diffstat (limited to 'example.gpr')
-rw-r--r--example.gpr32
1 files changed, 32 insertions, 0 deletions
diff --git a/example.gpr b/example.gpr
new file mode 100644
index 0000000..7637830
--- /dev/null
+++ b/example.gpr
@@ -0,0 +1,32 @@
+
+
+with "aao";
+
+
+project Example is
+
+
+ for languages use ("Ada", "C");
+
+
+ for Source_Dirs use ("example");
+ for Object_Dir use "obj";
+ for Exec_Dir use "bin";
+ for Main use ("aao_example.adb", "ao_example.c");
+
+
+ package Builder is
+ for Executable("aao_example.adb") use "ada_example";
+ for Executable("ao_example.c") use "c_example";
+ end Builder;
+
+
+ package Compiler is
+ for Default_Switches("Ada") use ("-gnaty4aAbcefhiklM100nprt");
+ for Default_Switches("C") use ("-Wall", "-Wextra");
+ end Compiler;
+
+
+end Example;
+
+