Add initial prototype.
This commit is contained in:
22
3-mid/physics/implement/c_math/library/c_math_thin.gpr
Normal file
22
3-mid/physics/implement/c_math/library/c_math_thin.gpr
Normal 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;
|
||||
29
3-mid/physics/implement/c_math/library/c_math_thin_c.gpr
Normal file
29
3-mid/physics/implement/c_math/library/c_math_thin_c.gpr
Normal 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;
|
||||
31
3-mid/physics/implement/c_math/library/c_math_thin_cxx.gpr
Normal file
31
3-mid/physics/implement/c_math/library/c_math_thin_cxx.gpr
Normal 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;
|
||||
Reference in New Issue
Block a user