* project files cleanup

This commit is contained in:
Vovanium 2023-08-01 16:59:32 +03:00
parent be4e09913e
commit 2834b96f0d
11 changed files with 23 additions and 23 deletions

View File

@ -1,4 +1,4 @@
project Cortex_M4_Video_Base extends "common" is
project Cortex_M4_Video_Base extends "video_common" is
for Target use "arm-eabi";
for Runtime ("Ada") use "zfp-cortex-m4";

View File

@ -1,6 +1,6 @@
aggregate project Default_Ravenscar_Full_STM32F429Disco is
aggregate project Default_Embedded_STM32F429Disco is
Runtime := "ravenscar-full-stm32f429disco";
Runtime := "embedded-stm32f429disco";
for Target use "arm-eabi";
for Runtime ("Ada") use Runtime;
@ -8,4 +8,4 @@ aggregate project Default_Ravenscar_Full_STM32F429Disco is
for Project_Files use ("video_base.gpr");
end Default_Ravenscar_Full_STM32F429Disco;
end Default_Embedded_STM32F429Disco;

View File

@ -0,0 +1,11 @@
project Embedded_STM32F429Disco_Video_Base extends "video_common" is
for Target use "arm-eabi";
for Runtime ("Ada") use "embedded-stm32f429disco";
for Object_Dir use "../build/embedded-stm32f429disco/objects";
for Library_Dir use "../build/embedded-stm32f429disco/lib";
for Exec_Dir use "../build/embedded-stm32f429disco/bin";
for Object_Dir use "../build/embedded-stm32f429disco/objects";
for Source_Dirs use ("../source/base");
end Embedded_STM32F429Disco_Video_Base;

View File

@ -1,6 +1,6 @@
with "../gpr/video_io";
project Example_IO extends "common" is
project Example_IO extends "video_common" is
for Object_Dir use Object_Path;
for Exec_Dir use Exec_Path;
for Source_Dirs use (Source_Path & "/examples");

View File

@ -1,6 +1,6 @@
with "../gpr/video_sdl";
project Example_SDL extends "common" is
project Example_SDL extends "video_common" is
for Object_Dir use Object_Path;
for Exec_Dir use Exec_Path;
for Source_Dirs use (Source_Path & "/examples");

View File

@ -1,11 +0,0 @@
project Ravenscar_Full_STM32F429Disco_Video_Base extends "common" is
for Target use "arm-eabi";
for Runtime ("Ada") use "ravenscar-full-stm32f429disco";
for Object_Dir use "../build/ravenscar-full-stm32f429disco/objects";
for Library_Dir use "../build/ravenscar-full-stm32f429disco/lib";
for Exec_Dir use "../build/ravenscar-full-stm32f429disco/bin";
for Object_Dir use "../build/ravenscar-full-stm32f429disco/objects";
for Source_Dirs use ("../source/base");
end Ravenscar_Full_STM32F429Disco_Video_Base;

View File

@ -1,4 +1,4 @@
project Video_Base extends "common" is
project Video_Base extends "video_common" is
for Library_Name use "Video_Base";
for Library_Kind use "static";

View File

@ -1,4 +1,4 @@
project Video_Base extends "common" is
project Video_Base extends "video_common" is
for Library_Name use "Video_Base";
for Library_Kind use "static";

View File

@ -1,4 +1,4 @@
abstract project Common is
abstract project Video_Common is
Runtime := External ("Runtime", project'Runtime ("Ada"));
@ -24,4 +24,4 @@ abstract project Common is
for Switches ("Ada") use ("-Es"); -- Symbolic traceback
end Binder;
end Common;
end Video_Common;

View File

@ -1,5 +1,5 @@
with "video_base";
project Video_IO extends "common" is
project Video_IO extends "video_common" is
for Library_Name use "Video_IO";
for Library_Kind use "static";

View File

@ -1,7 +1,7 @@
with "video_base";
with "sdlada";
project Video_SDL extends "common" is
project Video_SDL extends "video_common" is
for Library_Name use "Video_SDL";
for Library_Kind use "static";