From 67a43ef89ba41ac32b86cda7396c16fffaf691b3 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Mon, 20 Jan 2025 19:15:55 +1300 Subject: Adjuster test and project file reorg --- proj/adjuster_test.gpr | 28 ++++++++++++++++++++++++++++ proj/compare.gpr | 28 ++++++++++++++++++++++++++++ proj/dirlist.gpr | 28 ++++++++++++++++++++++++++++ proj/page_formats.gpr | 28 ++++++++++++++++++++++++++++ proj/shared.gpr | 13 +++++++++++++ 5 files changed, 125 insertions(+) create mode 100644 proj/adjuster_test.gpr create mode 100644 proj/compare.gpr create mode 100644 proj/dirlist.gpr create mode 100644 proj/page_formats.gpr create mode 100644 proj/shared.gpr (limited to 'proj') diff --git a/proj/adjuster_test.gpr b/proj/adjuster_test.gpr new file mode 100644 index 0000000..4197dd5 --- /dev/null +++ b/proj/adjuster_test.gpr @@ -0,0 +1,28 @@ + + +with + + "fltkada", + "shared"; + + +project Adjuster_Test is + + + for Languages use ("Ada"); + + for Source_Dirs use ("../test/**"); + for Object_Dir use "../obj"; + for Exec_Dir use "../bin"; + for Main use ("adjuster_test.adb"); + + package Builder is + for Executable ("adjuster_test.adb") use "adjuster"; + end Builder; + + package Compiler renames Shared.Compiler; + + +end Adjuster_Test; + + diff --git a/proj/compare.gpr b/proj/compare.gpr new file mode 100644 index 0000000..fc46807 --- /dev/null +++ b/proj/compare.gpr @@ -0,0 +1,28 @@ + + +with + + "fltkada", + "shared"; + + +project Compare is + + + for Languages use ("Ada"); + + for Source_Dirs use ("../test/**"); + for Object_Dir use "../obj"; + for Exec_Dir use "../bin"; + for Main use ("compare.adb"); + + package Builder is + for Executable ("compare.adb") use "compare"; + end Builder; + + package Compiler renames Shared.Compiler; + + +end Compare; + + diff --git a/proj/dirlist.gpr b/proj/dirlist.gpr new file mode 100644 index 0000000..ed096f2 --- /dev/null +++ b/proj/dirlist.gpr @@ -0,0 +1,28 @@ + + +with + + "fltkada", + "shared"; + + +project Dirlist is + + + for Languages use ("Ada"); + + for Source_Dirs use ("../test/**"); + for Object_Dir use "../obj"; + for Exec_Dir use "../bin"; + for Main use ("dirlist.adb"); + + package Builder is + for Executable ("dirlist.adb") use "dirlist"; + end Builder; + + package Compiler renames Shared.Compiler; + + +end Dirlist; + + diff --git a/proj/page_formats.gpr b/proj/page_formats.gpr new file mode 100644 index 0000000..0e0ebfe --- /dev/null +++ b/proj/page_formats.gpr @@ -0,0 +1,28 @@ + + +with + + "fltkada", + "shared"; + + +project Page_Formats is + + + for Languages use ("Ada"); + + for Source_Dirs use ("../test/**"); + for Object_Dir use "../obj"; + for Exec_Dir use "../bin"; + for Main use ("page_formats.adb"); + + package Builder is + for Executable ("page_formats.adb") use "page_formats"; + end Builder; + + package Compiler renames Shared.Compiler; + + +end Page_Formats; + + diff --git a/proj/shared.gpr b/proj/shared.gpr new file mode 100644 index 0000000..d16fc1a --- /dev/null +++ b/proj/shared.gpr @@ -0,0 +1,13 @@ + + +abstract project Shared is + + + package Compiler is + for Default_Switches ("Ada") use ("-gnaty4aAbcefhiklM100nprt"); + end Compiler; + + +end Shared; + + -- cgit