From 4766a7a7a2f23ee10560e1a2a177eec8931d974a Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Wed, 13 Feb 2013 23:17:52 +0100 Subject: Added a convenient and flexible build system. --- build_test_milter.gpr | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 build_test_milter.gpr (limited to 'build_test_milter.gpr') diff --git a/build_test_milter.gpr b/build_test_milter.gpr new file mode 100644 index 0000000..305dfbf --- /dev/null +++ b/build_test_milter.gpr @@ -0,0 +1,28 @@ +-- project file to compile the test milter of the Ada Milter API +-- Copyright 2013 B. Persson, Bjorn@Rombobeorn.se +-- +-- This project file is free software: you can redistribute it and/or modify it +-- under the terms of the GNU General Public License version 3, as published +-- by the Free Software Foundation. + + +with "comfignat.gpr"; +with "build_milter_api.gpr"; -- Link to the just compiled library. +with "system_log.gpr"; + +standard project Build_Test_Milter is + + for Main use ("test_milter"); + for Source_Dirs use ("test"); + for Object_Dir use Comfignat.Objdir; + for Exec_Dir use Comfignat.Stage_Bindir; + + package Compiler is + for Default_Switches ("Ada") use ("-g", "-gnato", "-Wall", "-Wextra"); + end Compiler; + + package Binder is + for Default_Switches ("Ada") use ("-E"); + end Binder; + +end Build_Test_Milter; -- cgit v1.2.3