Rombobjörn

summaryrefslogtreecommitdiff
path: root/build_test_milter.gpr
diff options
context:
space:
mode:
Diffstat (limited to 'build_test_milter.gpr')
-rw-r--r--build_test_milter.gpr28
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;