summaryrefslogtreecommitdiff
path: root/gcc/ada/opt.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-09 10:15:47 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-09 10:15:47 +0000
commit96ebbaff807bccd3b1b917f2a2bf34ac79172d02 (patch)
tree50ccdd7601a2a3e1f3d358b078848ebde8e85470 /gcc/ada/opt.ads
parent50ec6b04729a8e064d032ff83d3d67b6a33c6a73 (diff)
downloadgcc-96ebbaff807bccd3b1b917f2a2bf34ac79172d02.tar.gz
2010-09-09 Ed Schonberg <schonberg@adacore.com>
* sem_util.adb (Same_Object): include formal parameters. 2010-09-09 Vincent Celier <celier@adacore.com> * make.adb (Queue): New package implementing a new impementation of the queue, taking into account the new switch --single-compile-per-obj-dir. * makeutl.ads (Single_Compile_Per_Obj_Dir_Switch): New constant String for gnatmake and gprbuild new switch --single-compile-per-obj-dir. * opt.ads (One_Compilation_Per_Obj_Dir): New Boolean flag, defauted to False. * switch-m.adb (Scan_Make_Switches): Take into account new gnatmake switch --single-compile-per-obj-dir. * vms_data.ads: Add qualifier SINGLE_COMPILE_PER_OBJ_DIR for gnatmake switch --single-compile-per-obj-dir. * gnat_ugn.texi: Add documentation for new gnatmake switch --single-compile-per-obj-dir. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164067 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/opt.ads')
-rw-r--r--gcc/ada/opt.ads6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/opt.ads b/gcc/ada/opt.ads
index 1ca04ae7caf..6f0b6d96688 100644
--- a/gcc/ada/opt.ads
+++ b/gcc/ada/opt.ads
@@ -910,6 +910,12 @@ package Opt is
-- GNATMAKE
-- Set to True when an object directory is specified with option -D
+ One_Compilation_Per_Obj_Dir : Boolean := False;
+ -- GNATMAKE, GPRBUILD
+ -- Set to True with switch --single-compile-per-obj-dir. When True, there
+ -- cannot be simultaneous compilations with the object files in the same
+ -- object directory, if project files are used.
+
type Operating_Mode_Type is (Check_Syntax, Check_Semantics, Generate_Code);
Operating_Mode : Operating_Mode_Type := Generate_Code;
-- GNAT