Idea for .gpr: with sources [of] "other_project"
Gautier de Montmollin <[email protected]> Sun, 8 Oct 2017 12:06:21 +0200
| Newsgroups | gmane.comp.ide.gps.user |
|---|---|
| Message-ID | <CALOqzKwG0DYyMpcMdbncasT3owx5cHEAechdhhYp4M1X-je3fQ@mail.gmail.com> |
--===============1715546985379824901== Content-Type: multipart/alternative; boundary="f403045d15d8d1d324055b0639fe" --f403045d15d8d1d324055b0639fe Content-Type: text/plain; charset="UTF-8" (This would be actually more related to GNAT itself, but let's try like that) Sometimes with with "other_project"; there is a proliferation of build modes with different object directories, "Debug" vs "Release"-like options etc. and sometimes you want to access to the sources of another project. So an idea would be, in some cases, to access /only/ to the sources of the "with-ed" project. The "with-ing" project would take care of the options, object directories. Of course this would be only made possible if there is only one case for the "for Source_Dirs use" section. In GPS, the contents Scenario panel would have the opportunity, in some cases, to be be simpler. Sometimes it gets really messy with many projects "with" levels. The syntax would be perhaps: with sources "other_project"; or with sources of "other_project"; This would be similar to the "use type" clause in Ada. Cheers Gautier --f403045d15d8d1d324055b0639fe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">(This would be actually more related to GNAT itself, but l= et's try like that)<div><br></div><div>Sometimes with=C2=A0</div><div><= div>=C2=A0 with "other_project";</div><div><br></div><div>there i= s a proliferation of build modes with different object directories, "D= ebug" vs "Release"-like options etc. and sometimes you want = to access to the sources of another project.</div><div>So an idea would be,= in some cases, to access /only/ to the sources of the "with-ed" = project.</div><div>The "with-ing" project would take care of the = options, object directories.</div><div>Of course this would be only made po= ssible if there is only one case for the "for Source_Dirs use" se= ction.</div><div>In GPS, the contents Scenario panel would have the opportu= nity, in some cases, to be be simpler. Sometimes it gets really messy with = many projects "with" levels.</div><div>The syntax would be perhap= s:</div><div><br></div><div><div>=C2=A0 with sources "other_project&qu= ot;;</div></div><div><br></div><div>or</div><div><br></div><div><div>=C2=A0= with sources of "other_project";</div></div><div><br></div><div>= This would be similar to the "use type" clause in Ada.</div><div>= <br></div><div>Cheers</div><div>Gautier</div><div><br></div></div></div> --f403045d15d8d1d324055b0639fe-- --===============1715546985379824901== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gps-users mailing list [email protected] https://lists.adacore.com/mailman/listinfo/gps-users --===============1715546985379824901==--