Files
Ada_Drivers_Library/components/components.gpr
Fabien Chouteau 748dd1adac Renames Services to Middleware
The name services seems to be confusing so I propose to rename it to
middleware. Although the middleware word is quite overloaded in software
development, I think the signification is clear enough for this project.
Also it's the word use by ST for in STM32Cube to hold USB stack, network
stack, filesystems, audio tools, which coresponds with the definition of
what was is currently called services.
2017-01-27 08:22:00 +01:00

27 lines
692 B
Plaintext

with "../hal/HAL";
with "../middleware/middleware";
with "config";
library project Components is
for Source_Dirs use ("src/**");
for Languages use ("Ada");
for Library_Name use "components";
for Library_Kind use "static";
for Library_Dir use "lib/" & Config.Object_Subdir;
for Object_Dir use "obj/" & Config.Object_Subdir;
Root_Dir := Components'Project_Dir;
GNAT_ADC_FILE := Root_Dir & "gnat.adc";
package Compiler is
for Default_Switches ("ada") use
Config.Compiler'Default_Switches ("ada") &
("-gnatec=" & GNAT_ADC_FILE); -- Use a configuration pragma file
end Compiler;
package Builder renames Config.Builder;
end Components;