Skip to content
Snippets Groups Projects
PL1
Commit a4e73a75 authored by Maxime Francois Perrotin's avatar Maxime Francois Perrotin
Browse files

Update project files

parent 5eeaa610
No related branches found
No related tags found
No related merge requests found
Showing
with 66 additions and 20 deletions
export ASN1SCC=$(shell which asn1.exe)
all:
gprbuild -p -P og.gpr # generate Ada code from the SDL model
gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
......
......@@ -9,8 +9,12 @@ project DataView_Ada is
end Naming;
package Compiler is
for Driver ("ASN1") use "asn1.exe";
for Driver ("ASN1") use "mono";
for Leading_Required_Switches ("ASN1") use ("-Ada", "-typePrefix", "Asn1Scc");
for Leading_Required_Switches ("ASN1") use
(external("ASN1SCC"),
"-Ada",
"-typePrefix",
"Asn1Scc");
end Compiler;
end DataView_Ada;
\ No newline at end of file
......@@ -9,8 +9,12 @@ project DataView_c is
end Naming;
package Compiler is
for Driver ("ASN1") use "asn1.exe";
for Driver ("ASN1") use "mono";
for Leading_Required_Switches ("ASN1") use ("-c", "-typePrefix", "Asn1Scc");
for Leading_Required_Switches ("ASN1") use
(external("ASN1SCC"),
"-c",
"-typePrefix",
"Asn1Scc");
end Compiler;
end DataView_c;
\ No newline at end of file
export ASN1SCC=$(shell which asn1.exe)
all:
gprbuild -p -P og.gpr # generate Ada code from the SDL model
gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
......
......@@ -9,8 +9,12 @@ project DataView_Ada is
end Naming;
package Compiler is
for Driver ("ASN1") use "asn1.exe";
for Driver ("ASN1") use "mono";
for Leading_Required_Switches ("ASN1") use ("-Ada", "-typePrefix", "Asn1Scc");
for Leading_Required_Switches ("ASN1") use
(external("ASN1SCC"),
"-Ada",
"-typePrefix",
"Asn1Scc");
end Compiler;
end DataView_Ada;
\ No newline at end of file
......@@ -9,8 +9,12 @@ project DataView_c is
end Naming;
package Compiler is
for Driver ("ASN1") use "asn1.exe";
for Driver ("ASN1") use "mono";
for Leading_Required_Switches ("ASN1") use ("-c", "-typePrefix", "Asn1Scc");
for Leading_Required_Switches ("ASN1") use
(external("ASN1SCC"),
"-c",
"-typePrefix",
"Asn1Scc");
end Compiler;
end DataView_c;
\ No newline at end of file
export ASN1SCC=$(shell which asn1.exe)
all:
gprbuild -p -P og.gpr # generate Ada code from the SDL model
gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
......
......@@ -9,8 +9,12 @@ project DataView_Ada is
end Naming;
package Compiler is
for Driver ("ASN1") use "asn1.exe";
for Driver ("ASN1") use "mono";
for Leading_Required_Switches ("ASN1") use ("-Ada", "-typePrefix", "Asn1Scc", "og_newtypes.asn");
for Leading_Required_Switches ("ASN1") use
(external("ASN1SCC"),
"-Ada",
"-typePrefix",
"Asn1Scc", "og_newtypes.asn");
end Compiler;
end DataView_Ada;
\ No newline at end of file
......@@ -9,8 +9,12 @@ project DataView_c is
end Naming;
package Compiler is
for Driver ("ASN1") use "asn1.exe";
for Driver ("ASN1") use "mono";
for Leading_Required_Switches ("ASN1") use ("-c", "-typePrefix", "Asn1Scc", "og_newtypes.asn");
for Leading_Required_Switches ("ASN1") use
(external("ASN1SCC"),
"-c",
"-typePrefix",
"Asn1Scc", "og_newtypes.asn");
end Compiler;
end DataView_c;
\ No newline at end of file
export ASN1SCC=$(shell which asn1.exe)
all:
gprbuild -p -P og.gpr # generate Ada code from the SDL model
gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
......
......@@ -9,8 +9,12 @@ project DataView_Ada is
end Naming;
package Compiler is
for Driver ("ASN1") use "asn1.exe";
for Driver ("ASN1") use "mono";
for Leading_Required_Switches ("ASN1") use ("-Ada", "-typePrefix", "Asn1Scc");
for Leading_Required_Switches ("ASN1") use
(external("ASN1SCC"),
"-Ada",
"-typePrefix",
"Asn1Scc");
end Compiler;
end DataView_Ada;
\ No newline at end of file
export ASN1SCC=$(shell which asn1.exe)
all:
gprbuild -p -P function2.gpr # generate Ada code from the SDL model
gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
......
......@@ -9,8 +9,12 @@ project DataView_Ada is
end Naming;
package Compiler is
for Driver ("ASN1") use "asn1.exe";
for Driver ("ASN1") use "mono";
for Leading_Required_Switches ("ASN1") use ("-Ada", "-typePrefix", "Asn1Scc");
for Leading_Required_Switches ("ASN1") use
(external("ASN1SCC"),
"-Ada",
"-typePrefix",
"Asn1Scc");
end Compiler;
end DataView_Ada;
\ No newline at end of file
......@@ -9,8 +9,12 @@ project DataView_c is
end Naming;
package Compiler is
for Driver ("ASN1") use "asn1.exe";
for Driver ("ASN1") use "mono";
for Leading_Required_Switches ("ASN1") use ("-c", "-typePrefix", "Asn1Scc");
for Leading_Required_Switches ("ASN1") use
(external("ASN1SCC"),
"-c",
"-typePrefix",
"Asn1Scc");
end Compiler;
end DataView_c;
\ No newline at end of file
......@@ -2,7 +2,7 @@ project function2 is
for Languages use ("SDL");
for Source_Dirs use (".");
for Object_Dir use "code";
for Source_Files use ("system_structure.pr");
for Source_Files use ("function2.pr");
package Naming is
for Body_Suffix ("SDL") use ".pr";
......@@ -11,6 +11,6 @@ project function2 is
package Compiler is
for Driver ("SDL") use "opengeode";
for Object_File_Suffix ("SDL") use ".adb";
for Leading_Required_Switches ("SDL") use ("--toAda", "../function2.pr");
for Leading_Required_Switches ("SDL") use ("--toAda", "../system_structure.pr");
end Compiler;
end function2;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment