Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4e0d978634
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 26 lines (19 sloc) 0.648 kb
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

Library project Redis is
    Version := "1.0.0";

    type Mode_Type is ("debug", "release");
    Mode : Mode_Type := external ("mode", "debug");

    for Source_Dirs use ("src");

    for Object_Dir use "obj";
    for Library_Dir use "build";
    for Library_Kind use "dynamic";
    for Library_Name use "redisada";
    for Library_Version use "libredisada.so." & Version;

    package Compiler is
        case Mode is
            when "debug" =>
                for Switches ("Ada") use ("-g", "-gnat05");
            when "release" =>
                for Switches ("Ada") use ("-O2", "-gnat05");
        end case;
    end Compiler;
end Redis;

Something went wrong with that request. Please try again.