From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a02:95ae:: with SMTP id b43mr9053070jai.4.1550335890787; Sat, 16 Feb 2019 08:51:30 -0800 (PST) X-Received: by 2002:aca:4b89:: with SMTP id y131mr140302oia.3.1550335890659; Sat, 16 Feb 2019 08:51:30 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.216.MISMATCH!y42no198364ita.0!news-out.google.com!d79ni252itc.0!nntp.google.com!y22no232446ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 16 Feb 2019 08:51:30 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=5.186.124.106; posting-account=evKiCQoAAAAlW4DRMPKd5GV_i1n41MVD NNTP-Posting-Host: 5.186.124.106 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <947d15f3-4dd9-422b-bfad-20d1dad57e14@googlegroups.com> Subject: Re: Make with Ada 2019 : DogRobot From: Jesper Quorning Injection-Date: Sat, 16 Feb 2019 16:51:30 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55527 Date: 2019-02-16T08:51:30-08:00 List-Id: Hi Rego On Saturday, February 16, 2019 at 2:02:47 AM UTC+1, Rego, P. wrote: > I just published my project for the Make with Ada this year, named DogRobot : A Home C4ISR System. Basically it's a dual application from Windows/Raspberry Pi communicating from sockets using a fixed protocol. You are a hero participation in the competiton. I have givven you a star marking on GitHub. > Please take a look if you are interested. And feel free to suggest improvements, make critics, etc. The last 2 weeks when I decided to make it have been very exhaustive but I think it looked good enough for a fast project. My suggestions are pure project organisational: Use GPR and split the sources into four source files: source-lib - library project for core etc. source - project for the application source-test - project for the test application source-util - library project - reusabel components Four GPR project files using the four source directories: dogbot_lib.gpr dogbot.gpr dogbot_test.gpr dogbot_util.gpr Add simple makefiles in the source directories which uses the main make file in the root In the gpr projects. Add -gnaty to Default_Switch to use AdaCore coding style for better coorporation with others. gprbuild has the -p option which creates bin/lib/obj directories automatically so you can remove them from your project. You may have a look at GPR projects and GPR library projects at: https://github.com/jquorning/DK8543 https://github.com/jquorning/GAWS Best of luck with the competition. Jesper.