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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,12da20627e3e7424,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!n12g2000yqh.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn?= Newsgroups: comp.lang.ada Subject: Compiler switches for directory in GNAT project files Date: Sat, 27 Aug 2011 10:49:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6e8c14b6-efab-44b3-b857-252bfd63744d@n12g2000yqh.googlegroups.com> NNTP-Posting-Host: 85.227.20.141 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1314467720 25451 127.0.0.1 (27 Aug 2011 17:55:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 27 Aug 2011 17:55:20 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n12g2000yqh.googlegroups.com; posting-host=85.227.20.141; posting-account=YboemQoAAADByXNKUQ0Fw0OSJ9Iwf36T User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:21681 Date: 2011-08-27T10:49:09-07:00 List-Id: I have a number of source files in a GNAT project which have been automatically generated. I want to compile these source files with different compiler switches from the rest of the project (e.g. less warnings). All of the automatically generated files are located in one single folder. Up until now I've specified them one by one in the project file: for Switches ("foo.adb") use ... However, the list of specified files have now grown well over a hundred. Is there a way to specify specific compiler switches for all files contained in a specific directory in GNAT project files? /Bj=F6rn