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,27 @@
with
"lace_shared";
--library
project Box2d_contrib
is
for Languages use ("C++");
for Source_Dirs use ("../contrib/src/**");
for Object_Dir use "build";
for Library_Dir use "lib";
for Library_Ali_Dir use "objects";
-- for Library_Name use "box2d_contrib";
package Ide renames Lace_shared.Ide;
package Builder renames Lace_shared.Builder;
package Binder renames Lace_shared.Binder;
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", "-I../../contrib/include");
end Compiler;
end Box2d_contrib;

View File

@@ -0,0 +1,23 @@
with
"box2d_thin_cxx",
"c_math_thin",
"swig",
"math",
"lace_shared";
--library
project Box2d_thin
is
for Languages use ("Ada");
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 "Box2d_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 Box2d_thin;

View File

@@ -0,0 +1,32 @@
with
"c_math_thin_c",
"box2d_contrib",
"lace_shared";
--library
project Box2d_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 "box2d_thin_c";
package Naming is
for Spec_Suffix ("c++") use ".h";
for Body_Suffix ("c++") use ".cpp";
end Naming;
package Ide renames Lace_shared.Ide;
package Builder renames Lace_shared.Builder;
package Binder renames Lace_shared.Binder;
package Compiler is
for Default_Switches ("c++") use ("-g",
"-Wno-return-type-c-linkage",
"-I../../../c_math/source/c",
"-I../../contrib/include");
end Compiler;
end Box2d_Thin_C;

View File

@@ -0,0 +1,31 @@
with
"box2d_thin_c",
"lace_shared";
--library
project Box2d_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 "box2d_thin_cxx";
package Ide renames Lace_shared.Ide;
package Builder renames Lace_shared.Builder;
package Binder renames Lace_shared.Binder;
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",
"-I../../../c_math/source/c",
"-Wno-return-type-c-linkage");
end Compiler;
end Box2d_Thin_Cxx;