comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Lundin" <bnl@nowhere.com>
Subject: Re: A new universe of Ada
Date: Tue, 27 Sep 2022 18:04:04 +0200	[thread overview]
Message-ID: <tgv6tk$3i4b$1@dont-email.me> (raw)
In-Reply-To: <78a9305e-4f30-4948-a6b1-1097b02655d8n@googlegroups.com>

On 2022-09-27 04:35, Rick Duley wrote:
> For myself, I have two more questions:
> 1.  Do I have to create a new project for every mainline I write?

no. depending scenarion (env-var) I build a different set of exes

I got this i a project of mine (50+ executables)

    System_Mains := ("rpc_tracker.adb",
                     ...
                     ...
                     "poll.adb",
                     "login_handler.adb"
                     );

    Stat_Mains   := (
                     "create_cache.adb",
                     ...
                     ...
                     "lay_and_back_after_progress.adb"
                    );

    Display_Mains :=  ("race_time.adb");

    Other_Mains :=  ( "markets_sender.adb",
                     ...
                     ...
                      "price_to_tics.adb"   );

    Test_Programs := (); --("test_string_object.adb");

    case Bot_Machine_Role is
       when "PROD"       =>  for Main use System_Mains;
       when "TEST"       =>  for Main use System_Mains;
       when "SIM"        =>  for Main use System_Mains &
                                          Stat_Mains &
                                          Other_Mains &
                                          Test_Programs;
       when "DISPLAY"    =>  for Main use Display_Mains;
       when "LONGPOLL"   =>  for Main use System_Mains;
     end case;



-- 
/Björn

  parent reply	other threads:[~2022-09-27 16:04 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-26  6:20 A new universe of Ada Rick Duley
2022-09-26  6:45 ` Dmitry A. Kazakov
2022-09-26  7:00   ` Rick Duley
2022-09-26  7:11   ` Rick Duley
2022-09-26  7:41     ` Dmitry A. Kazakov
2022-09-28 18:28       ` Stephen Leake
2022-09-28 20:08         ` Dmitry A. Kazakov
2022-09-29  0:31           ` Gautier write-only address
2022-09-29  8:51         ` G.B.
2022-09-26  8:17     ` Simon Wright
2022-09-26  7:27   ` Simon Wright
2022-09-26  7:45     ` Dmitry A. Kazakov
2022-09-26  8:04       ` Rick Duley
2022-09-26  9:16         ` Dmitry A. Kazakov
2022-09-26  9:33           ` Rick Duley
2022-09-27  2:35           ` Rick Duley
2022-09-27  6:27             ` Dmitry A. Kazakov
2022-09-27  6:43             ` J-P. Rosen
2022-09-27  7:44               ` Rick Duley
2022-09-27 16:04             ` Björn Lundin [this message]
2022-09-28 17:40   ` Stephen Leake
2022-09-26  7:28 ` G.B.
2022-09-26  9:30 ` Jeffrey R.Carter
2022-09-26  9:34   ` Rick Duley
2022-09-26  9:37     ` Jeffrey R.Carter
2022-09-26 11:08       ` Maxim Reznik
2022-09-26 13:23         ` Kevin Chadwick
2022-09-26 18:12           ` Rene
2022-09-27 10:10           ` Roger Mc
2022-09-27 11:40             ` Roger Mc
2022-09-27 14:10             ` Simon Wright
2022-09-27 17:09               ` Roger Mc
2022-09-27 20:26                 ` Simon Wright
2022-09-28 12:14                   ` Roger Mc
2022-09-28 12:54                     ` Roger Mc
2022-09-28 18:34       ` Stephen Leake
2022-09-26 19:44 ` Marius Amado-Alves
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox