2 -- Copyright (C) 2011, 2012 Reto Buerki <reet@codelabs.ch>
3 -- Copyright (C) 2011, 2012 Adrian-Ken Rueegsegger <ken@codelabs.ch>
4 -- University of Applied Sciences Rapperswil
6 -- This program is free software: you can redistribute it and/or modify
7 -- it under the terms of the GNU General Public License as published by
8 -- the Free Software Foundation, either version 3 of the License, or
9 -- (at your option) any later version.
11 -- This program is distributed in the hope that it will be useful,
12 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 -- GNU General Public License for more details.
16 -- You should have received a copy of the GNU General Public License
17 -- along with this program. If not, see <http://www.gnu.org/licenses/>.
24 for Source_Dirs use ("src");
25 for Object_Dir use "obj/lib";
26 for Library_Name use "cudaada";
27 for Library_Dir use "lib";
28 for Library_Kind use external ("LIBRARY_KIND", "dynamic");
29 for Library_Version use "libcudaada.so." & Cuda_Common.Version;
30 for Library_Options use Cuda_Common.Linker_Switches;
32 Compiler_Switches := Cuda_Common.Compiler_Switches & "-gnatwale";
35 for Default_Switches ("ada") use Compiler_Switches;
39 for Default_Switches ("ada") use ("-E");