diff options
author | Björn Persson <bjorn@rombobjörn.se> | 2013-02-13 23:17:52 +0100 |
---|---|---|
committer | Björn Persson <bjorn@rombobjörn.se> | 2013-02-13 23:17:52 +0100 |
commit | 4766a7a7a2f23ee10560e1a2a177eec8931d974a (patch) | |
tree | 5380090b964906e3317b930b43ce38bd60f5e0cf /build_test_milter.gpr | |
parent | b5565b3dc55003122b0ffdc211d03446971ff12a (diff) |
Added a convenient and flexible build system.
Diffstat (limited to 'build_test_milter.gpr')
-rw-r--r-- | build_test_milter.gpr | 28 |
1 files changed, 28 insertions, 0 deletions
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; |