Skip to content

Commit

Permalink
Renamed GNAT project file
Browse files Browse the repository at this point in the history
  • Loading branch information
zertovitch committed Feb 17, 2024
1 parent 211f9a4 commit 97f55e7
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions ada_bar_codes_gnat.gpr → ada_bar_codes.gpr
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@
-- Mirror: https://github.com/zertovitch/ada-bar-codes
-- Alire crate: https://alire.ada.dev/crates/bar_codes
--
-- Build me with "gprbuild -P ada_bar_codes_gnat", or "gnatmake -P ada_bar_codes_gnat",
-- Build me with "gprbuild -P ada_bar_codes", or "gnatmake -P ada_bar_codes",
-- or open me with GNAT Studio
--
project Ada_Bar_Codes_GNAT is
project Ada_Bar_Codes is

type ABC_Build_Mode_Type is
("Debug",
@@ -90,4 +90,4 @@ project Ada_Bar_Codes_GNAT is
end case;
end Linker;

end Ada_Bar_Codes_GNAT;
end Ada_Bar_Codes;
8 changes: 4 additions & 4 deletions ada_bar_codes.txt
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ Contents
Ada Bar Codes
=============

- ada_bar_codes_gnat.gpr : project file for the AdaCore GNAT compiler
- ada_bar_codes.gpr : project file for the AdaCore GNAT compiler
- ada_bar_codes_oa.prj : project file for the PTC ObjectAda compiler
- ada_bar_codes.txt : this file
- bar_codes.ads : package specification
@@ -50,11 +50,11 @@ How to build Ada Bar Codes and its demo
=======================================
Here is how to build with GNAT/GCC:

- type "gprbuild -P ada_bar_codes_gnat" in the command line
- type "gprbuild -P ada_bar_codes" in the command line
or
- type "gnatmake -P ada_bar_codes_gnat" in the command line
- type "gnatmake -P ada_bar_codes" in the command line
or
- open the ada_bar_codes_gnat.gpr file (will launch GNAT Studio),
- open the ada_bar_codes.gpr file (will launch GNAT Studio),
press F4 (Build)

Here is how to build with ObjectAda (tested with v.9.2):
2 changes: 1 addition & 1 deletion build.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
gprbuild -P ada_bar_codes_gnat %1
gprbuild -P ada_bar_codes %1

0 comments on commit 97f55e7

Please sign in to comment.