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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6da02c98ea5cc99c,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!not-for-mail Date: Sun, 03 Aug 2008 10:00:29 +0200 From: Thomas Organization: Loecke K/S User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Project file - suggestions/help needed. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <4895659d$0$15880$edfadb0f@dtext01.news.tele.dk> NNTP-Posting-Host: 83.91.213.86 X-Trace: 1217750429 dtext01.news.tele.dk 15880 83.91.213.86:63495 X-Complaints-To: abuse@post.tele.dk Xref: g2news1.google.com comp.lang.ada:1422 Date: 2008-08-03T10:00:29+02:00 List-Id: 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. :o) -- /Thomas L�cke -- The major difference between a thing that might go wrong -- and a thing that cannot possibly go wrong is that when a -- thing that cannot possibly go wrong goes wrong it usually -- turns out to be impossible to get at or repair.