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,163994d4f34e92d0 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.40 with SMTP id qr8mr1785126pbc.0.1343564968525; Sun, 29 Jul 2012 05:29:28 -0700 (PDT) Path: c10ni48844pbw.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Patrick Newsgroups: comp.lang.ada Subject: Re: how to tell gnatmake to send executables to a different directory when compiling multi source? Date: Sun, 29 Jul 2012 05:29:28 -0700 (PDT) Organization: http://groups.google.com Message-ID: <214bbd15-f7cb-4710-a6a7-64f37923bf4e@googlegroups.com> References: NNTP-Posting-Host: 70.53.16.194 Mime-Version: 1.0 X-Trace: posting.google.com 1343564968 9465 127.0.0.1 (29 Jul 2012 12:29:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 29 Jul 2012 12:29:28 +0000 (UTC) Cc: nma@12000.org In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.53.16.194; posting-account=cUi90woAAADTaOISowbbHM8GUD0-opJO User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-29T05:29:28-07:00 List-Id: Hi Nasser I bet I know less then you do, so you might not want to follow me, I'm lost too :) I tried GPR and it's nice but I found it confusing once I starting mixing in C shared libraries. I just put all my files in different directories and use a shell script to cp them into a build directory. If I have 3 directories c, ada, mess. The shell script is this cp ./c/* ./mess; cp ./ada/* ./mess; cp Makefile ./mess ; cd ./mess ; make ; cd - ; cp ./mess/exec_file ./ ; ./exec_file ; I can't see a difference in build time on my machine with my small projects. HTH(and does not hurt instead!)