Rombobjörn

summaryrefslogtreecommitdiff
path: root/testsuite/sources/library_1/build_testcase.gpr.gp
blob: 5861788e720a3b79a44dd3952019756cb27d6a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
-- part of Comfignat's testsuite
-- Copyright 2014 B. Persson, Bjorn@Rombobeorn.se
--
-- This material is provided as is, with absolutely no warranty expressed
-- or implied. Any use is at your own risk.
--
-- Permission is hereby granted to use or copy this testsuite
-- for any purpose, provided the above notices are retained on all copies.
-- Permission to modify the code and to distribute modified code is granted,
-- provided the above notices are retained, and a notice that the code was
-- modified is included with the above copyright notice.


with "comfignat.gpr";

library project Build_Testcase is

   #if Frobnicate then
      Frob_Flag := "-frob";
   #else
      Frob_Flag := "";
   #end if;

   for Library_Name      use "testcase";
   for Library_Kind      use "dynamic";
   for Library_Version   use "libtestcase" & Frob_Flag & ".so.1";
   for Library_Interface use ("Testcase");
   for Source_Dirs       use ($Srcdir);
   for Object_Dir        use Comfignat.Objdir;
   for Library_Src_Dir   use Comfignat.Stage_Includedir & "/testcase";
   for Library_Dir       use Comfignat.Stage_Libdir;
   for Library_ALI_Dir   use Comfignat.Stage_Alidir & "/testcase";

end Build_Testcase;