This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] Relax library dir checks for externally built library projects


When a library project is externally built, the different directories
(library directory, library ALI directory, library copy source directory)
may be any directory.
The test for this is to have an externally built directory with the
library directory and the library copy source directory set to ".".
There should be no error from the Project Manager.

project Prj is
   for Library_Name use "prj";
   for Library_Dir  use ".";
   for Library_Src_Dir use ".";
   for Externally_Built use "True";
end Prj;

Tested on x86_64-pc-linux-gnu, committed on trunk

2010-06-17  Vincent Celier  <celier@adacore.com>

	* prj-nmsc.adb (Check_Library_Attributes): Allow the different
	directories associated with a library to be any directory when the
	library project is externally built.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]