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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:b50:: with SMTP id 77mr13028193qkl.152.1590857959867; Sat, 30 May 2020 09:59:19 -0700 (PDT) X-Received: by 2002:aca:b30a:: with SMTP id c10mr9479710oif.44.1590857959571; Sat, 30 May 2020 09:59:19 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 30 May 2020 09:59:19 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=70.109.61.125; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 70.109.61.125 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Have one GPR file build another with external variables From: Jere Injection-Date: Sat, 30 May 2020 16:59:19 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:58888 Date: 2020-05-30T09:59:19-07:00 List-Id: Say I have a custom runtime whose project file (GPR) takes in an external variable to compile in either debug or release (-xBUILD=release vs -xBUILD=debug for example). If I have another project that uses this runtime with the same external variable, is there a way for me to tell the project file for this 2nd project to also rebuild the runtime GPR and use the same external variable value? I'm looking for a solution within the GPR file if possible. I know I can always just do a make file, but wanted to see if I have a more cross platform alternative.