Add initial prototype.

This commit is contained in:
Rod Kay
2022-07-31 17:34:54 +10:00
commit 54a53b2ac0
1421 changed files with 358874 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
with
"c_math_thin_cxx",
"swig",
"math",
"lace_shared";
--library
project c_Math_thin
is
for Languages use ("Ada");
for Source_Dirs use ("../source", "../source/thin");
for Object_Dir use "build";
for Library_Dir use "lib";
for Library_Ali_Dir use "objects";
-- for Library_Name use "c_Math_thin";
package Ide renames Lace_shared.Ide;
package Builder renames Lace_shared.Builder;
package Compiler renames Lace_shared.Compiler;
package Binder renames Lace_shared.Binder;
end c_Math_thin;

View File

@@ -0,0 +1,29 @@
with
"lace_shared";
--library
project c_Math_Thin_C
is
for Languages use ("c++");
for Source_Dirs use ("../source/c");
for Object_Dir use "build";
-- for Library_Dir use "lib";
-- for Library_Ali_Dir use "objects";
-- for Library_Name use "c_Math_Thin_C";
package Naming is
for Spec_Suffix ("c++") use ".h";
for Body_Suffix ("c++") use ".cpp";
end Naming;
package Compiler is
for Default_Switches ("c++") use ("-g",
"-Wno-return-type-c-linkage",
"-I../source/c");
end Compiler;
package Ide renames Lace_shared.Ide;
package Builder renames Lace_shared.Builder;
package Binder renames Lace_shared.Binder;
end c_Math_Thin_C;

View File

@@ -0,0 +1,31 @@
with
"c_math_thin_c",
"lace_shared";
--library
project c_Math_Thin_Cxx
is
for Languages use ("c++");
for Source_Dirs use ("../source/thin");
for Object_Dir use "build";
for Library_Dir use "lib";
for Library_Ali_Dir use "objects";
-- for Library_Name use "c_Math_Thin_Cxx";
package Naming is
for Spec_Suffix ("c++") use ".h";
for Body_Suffix ("c++") use ".cxx";
end Naming;
package Compiler is
for Default_Switches ("c++") use ("-g",
"-fPIC",
"-Wno-return-type-c-linkage",
"-I../source/c");
end Compiler;
package Ide renames Lace_shared.Ide;
package Builder renames Lace_shared.Builder;
package Binder renames Lace_shared.Binder;
end c_Math_Thin_Cxx;