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: a07f3367d7,170b136bef612224 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 X-Received: by 10.236.15.164 with SMTP id f24mr11171357yhf.50.1367665238062; Sat, 04 May 2013 04:00:38 -0700 (PDT) Path: y6ni7347qax.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!nrc-news.nrc.ca!News.Dal.Ca!news.litech.org!news.stack.nl!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Specifying a target in a GPRBuild project file? Date: Sat, 27 Apr 2013 10:43:43 +0200 Organization: Ada @ Home Message-ID: References: <8f5e2358-05ab-4b0f-82be-b2f2d7438765@googlegroups.com> <51796066.5060906@obry.net> <1jpdzc49i9m1w.12yp9l8whf5lk$.dlg@40tude.net> <517AA6C1.7050508@obry.net> <1hdsodgh31xt9$.1ua65srkn4jrx$.dlg@40tude.net> NNTP-Posting-Host: ZOt+glEqAP8SwP/H/SQpKw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.15 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2013-04-27T10:43:43+02:00 List-Id: Le Sat, 27 Apr 2013 08:17:57 +0200, Dmitry A. Kazakov = a =C3=A9crit: > On Fri, 26 Apr 2013 12:09:53 -0700 (PDT), sbelmont700@gmail.com wrote:= > >> You always use a configuration project, either explicitly (i.e. using= >> --config) or implicitly (using --target). The target option just = >> invokes >> gprconfig, which auto-produces the 'auto.cgpr' based on the language = and >> path values and drops in the current directory. > > I don't use *.cgpr stuff. So far I see no compelling reasons to start = = > using That starts to be useful when the build involves multiple languages, lik= e = Ada + C or Ada + Assembly or Ada + XML + automatic source generation or = = Ada + C + Resources files (the latter, for Windows). That starts to be = useful also when not only the sources has to be properly configured, but= = the compilers, binders and linkers too. GNATMake can handle Ada sources and nothing else; GPRBuild can handle an= y = languages during the build process beside of Ada, even custom ones. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity