From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Bj=c3=b6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: A new universe of Ada Date: Tue, 27 Sep 2022 18:04:04 +0200 Organization: A noiseless patient Spider Message-ID: References: <8d3a421a-4aff-4259-8eec-9b4219b270e6n@googlegroups.com> <78a9305e-4f30-4948-a6b1-1097b02655d8n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 27 Sep 2022 16:04:04 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="e0d6fdaa593df08fa984a002744dd76b"; logging-data="116875"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19w/UZLrGAt5j2FbSeLnaa6" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Cancel-Lock: sha1:WDho+t7rQLm8JJ9/wZq+hlQU7uk= In-Reply-To: <78a9305e-4f30-4948-a6b1-1097b02655d8n@googlegroups.com> Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:64443 List-Id: 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