Add Program infrastructure

This commit is contained in:
Yannick Reiß 2024-02-01 09:34:35 +01:00
parent 6ec80afdbc
commit 529e342d1f
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,7 @@
project Default is
for Source_Dirs use ("src");
for Object_Dir use "obj";
for Exec_Dir use "bin";
for Main use ("main.adb");
for Languages use ("Ada");
end Default;

15
src/main.adb Normal file
View File

@ -0,0 +1,15 @@
-- main.adb
-- Created on: Thu 01 Feb 2024 09:33:13 CET
-- Author(s): Yannick Reiß
-- Content: Compiler main call
with Ada.Text_IO;
with Ada.Command_Line;
-- @name Main
-- @return
-- @description Main Function call
procedure Main is
begin
end Main;

View File

@ -0,0 +1,8 @@
project Test is
for Source_Dirs use ("src");
for Object_Dir use "obj";
for Exec_Dir use "bin";
for Main use ("testbench.adb");
for Languages use ("Ada");
end Test;