Files
aws/config/setup.gpr
Pascal Obry dcd2f6d688 Rework build setup to allow for out-of-tree build.
This rework make it possible to build in-tree as before:

   $ make setup
   $ make

And from another directory (out-of-tree build):

   $ cd <build-dir>
   $ make -C ../aws BLD_DIR=$PWD setup
   $ make -C ../aws BLD_DIR=$PWD

To build the demos:

   $ make -C ../aws/demos BLD_DIR=$PWD

Support for the testsuite has also been reworked to use the out-of-tree
build when needed:

   $ make -C ../aws BLD_DIR=$PWD run_regtests
2024-01-19 08:03:17 +00:00

40 lines
1.8 KiB
Plaintext

------------------------------------------------------------------------------
-- Ada Web Server --
-- --
-- Copyright (C) 2006-2014, AdaCore --
-- --
-- This is free software; you can redistribute it and/or modify it --
-- under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This software is distributed in the hope that it will --
-- be useful, but WITHOUT ANY WARRANTY; without even the implied warranty --
-- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
-- General Public License for more details. --
-- --
-- You should have received a copy of the GNU General Public License --
-- distributed with this software; see file COPYING3. If not, go --
-- to http://www.gnu.org/licenses for a complete copy of the license. --
------------------------------------------------------------------------------
with "../shared";
project Setup is
for Languages use ("Ada");
for Main use ("xoscons.adb");
for Source_Dirs use ("setup");
for Object_Dir use "../" & Shared.Target_Dir & "/setup/obj";
for Exec_Dir use "../" & Shared.Target_Dir & "/setup/bin";
package Compiler is
for Default_Switches ("Ada") use
Shared.Compiler'Default_Switches ("Ada") & ("-gnatyN");
end Compiler;
package Ide renames Shared.Ide;
package Linker renames Shared.Linker;
end Setup;