You've already forked Ada_Drivers_Library
mirror of
https://github.com/AdaCore/Ada_Drivers_Library.git
synced 2026-02-12 12:26:55 -08:00
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.
27 lines
692 B
Plaintext
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;
|