lace: Separate the environ packages from core lace into their own gnat project file.

This commit is contained in:
Rod Kay
2024-03-11 11:55:00 +11:00
parent 66b60b5f8e
commit 85b923610f
2 changed files with 29 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
with with
-- "florist", -- "florist",
"lace_shared", "lace_shared";
"ashell"; -- "ashell";
--library --library
@@ -20,7 +20,7 @@ is
for Source_Dirs use ("../source", for Source_Dirs use ("../source",
"../source/containers", "../source/containers",
"../source/environ", -- "../source/environ",
"../source/dice", "../source/dice",
"../source/events", "../source/events",
"../source/events/concrete", "../source/events/concrete",

View File

@@ -0,0 +1,26 @@
with
"lace_shared",
"ashell";
--library
project lace_Environ
is
type Restrictions is ("xgc", "ravenscar");
the_Restrictions : Restrictions := external ("restrictions", "xgc");
for Create_Missing_Dirs use "True";
for Object_Dir use "build";
for Exec_Dir use ".";
for Library_Dir use "lib";
for Library_Ali_Dir use "objects";
-- for Library_Name use "lace_environ";
for Source_Dirs use ("../source/environ");
package Builder renames Lace_shared.Builder;
package Compiler renames Lace_shared.Compiler;
package Binder renames Lace_shared.Binder;
end lace_Environ;