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: a07f3367d7,2b6328a4684ba64b,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!l2g2000yqd.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?J=E9r=F4me_Haguet?= Newsgroups: comp.lang.ada Subject: Gnat Project file : object dir "fast clean" ? Date: Mon, 16 Nov 2009 02:10:11 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 84.96.81.228 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1258366211 30694 127.0.0.1 (16 Nov 2009 10:10:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 16 Nov 2009 10:10:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l2g2000yqd.googlegroups.com; posting-host=84.96.81.228; posting-account=d5j2DQoAAABeZhUIl30hw1xF6LEcGIMa User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 GTB5 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8112 Date: 2009-11-16T02:10:11-08:00 List-Id: Let's imagine I have several projects, each defined by a gpr file, with a specific object_dir for each. Quite common situation. I was just wondering if there is an option in some tool (gnat*, *gpr*) to perform an Object_Dir "fast clean" ? I mean : "delete every .o/.ali that should not exist". It may happen, for example : - when I rename some package - when I move a package from a project to an other project I have to delete the old .ali/.o, otherwise it can be confusing for gnatmake, gnatfind .... Of course, I can delete the whole Object_Dir-s, and rebuild everything. But, some time, something faster can be helpful.