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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6da02c98ea5cc99c X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!postnews.google.com!j22g2000hsf.googlegroups.com!not-for-mail From: Gene Newsgroups: comp.lang.ada Subject: Re: Project file - suggestions/help needed. Date: Sun, 3 Aug 2008 11:43:01 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4895659d$0$15880$edfadb0f@dtext01.news.tele.dk> NNTP-Posting-Host: 134.240.200.100 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1217788981 15028 127.0.0.1 (3 Aug 2008 18:43:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 3 Aug 2008 18:43:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j22g2000hsf.googlegroups.com; posting-host=134.240.200.100; posting-account=-BkjswoAAACC3NU8b6V8c50JQ2JBOs04 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:1429 Date: 2008-08-03T11:43:01-07:00 List-Id: On Aug 3, 4:00=A0am, Thomas wrote: > Hey all, > > I'm trying to learn how to setup project files. This is what I'm > currently using: > > http://pastebin.ca/1091592 > > It seems to work as intended, but I would really like some comments from > the more experienced Ada crowd. Are there redundant settings in there? > Are there important settings missing? Are there downright "dangerous" > mistakes? > > The posted project file has been build by combining settings found on > various Ada/gnatmake related websites. > > The goals of the file is: > > 1. A fairly well optimized executable > 2. Generate as many style warnings as possible > 3. Enable Ada 2005 extensions > 4. It should work for basic Ada projects, coded by two beginners > > Also, it looks as if I will be needing XML/Ada for the project I'm > currently working on. How would I go about adding the XML/Ada stuff to > my project file? Would I just move all the XML/Ada source files to my > source/ directory, and that would be it? > > Any and all advice would be greatly appreciated. =A0:o) > > -- > /Thomas L=F8cke I'm not an expert on project files...rather the reverse, as it sounds you are. I've found it instructive to load GPS and fiddle with the Project wizard to see how it builds project files for both development and production compilations, with and for libraries, with included projects, etc.