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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Q: Multiple GNAT project files and object directories Date: Wed, 10 Jul 2013 20:45:39 +0100 Organization: A noiseless patient Spider Message-ID: References: <062c95f8-445d-49f1-8bd2-76481f146cf7@googlegroups.com> <51DD1B2F.1010105@obry.net> <76be6848-d0b9-4f6b-9cd1-72caf33edda5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="c8504a89c76ea11bda6664e6198ae3cd"; logging-data="15697"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+zsw3DIaGUJaSun3pCRYrOIadKhLkZ/DY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:Qlpjw22YnL7t7kt8wLkgG8uPRrY= sha1:Jq+31nVICg4uvKg4PqlQWYbOzX0= Xref: news.eternal-september.org comp.lang.ada:16274 Date: 2013-07-10T20:45:39+01:00 List-Id: "J-P. Rosen" writes: > Le 10/07/2013 15:34, gautier_niouzes@hotmail.com a écrit : >> Le mercredi 10 juillet 2013 14:37:11 UTC+2, Simon Wright a écrit : >> >>> > But it won't rebuild if this project is built with ("-g", "-O0") and the >>> > 'with'ed project is built with ("-O2"), which is the sort of change that >>> > OP was talking about. (By "won't rebuild" I mean, I just tried it and it >>> > didn't). >> Right - I also just tried. >> But GNAT GPL 2012 (not 2013) did (I also tried)! > Did you notice in "Edit project properties/switches/gnatmake" the option > "recompile if switch changes" ? But my point is that changing switches in the 'with'ing project has no automatic effect on the switches used in the 'with'ed project.