diff options
author | Björn Persson <bjorn@rombobjörn.se> | 2013-08-01 18:25:26 +0200 |
---|---|---|
committer | Björn Persson <bjorn@rombobjörn.se> | 2013-08-01 18:25:26 +0200 |
commit | 46d272892e2bb070e694e36cc9a9e58988032094 (patch) | |
tree | d66986b1e3c9956aeb0b747864410f50f802c130 /comfignat.gpr.gp | |
parent | c000eadddcaf1a2628cc54015690a2abd3f5dc1e (diff) |
Added support for separate build directories and for usage projects in subdirectories.
Diffstat (limited to 'comfignat.gpr.gp')
-rw-r--r-- | comfignat.gpr.gp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/comfignat.gpr.gp b/comfignat.gpr.gp index d5bcd78..3b0c950 100644 --- a/comfignat.gpr.gp +++ b/comfignat.gpr.gp @@ -204,11 +204,18 @@ abstract project Comfignat is -- generated files are placed. -- + -- Various generated files are kept in Builddir. + #if Builddir'Defined then + Builddir := $Builddir; + #else + Builddir := "."; + #end if; + -- Intermediate files produced during the build shall be kept in Objdir. #if Objdir'Defined then Objdir := $Objdir; #else - Objdir := "build"; + Objdir := Builddir & "/obj"; #end if; #if Directories_Project'Defined then |