Commit a4e73a75 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Update project files

parent 5eeaa610
export ASN1SCC=$(shell which asn1.exe)
all: all:
gprbuild -p -P og.gpr # generate Ada code from the SDL model 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 gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
......
...@@ -9,8 +9,12 @@ project DataView_Ada is ...@@ -9,8 +9,12 @@ project DataView_Ada is
end Naming; end Naming;
package Compiler is 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 Compiler;
end DataView_Ada; end DataView_Ada;
\ No newline at end of file
...@@ -9,8 +9,12 @@ project DataView_c is ...@@ -9,8 +9,12 @@ project DataView_c is
end Naming; end Naming;
package Compiler is 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 Compiler;
end DataView_c; end DataView_c;
\ No newline at end of file
export ASN1SCC=$(shell which asn1.exe)
all: all:
gprbuild -p -P og.gpr # generate Ada code from the SDL model 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 gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
......
...@@ -9,8 +9,12 @@ project DataView_Ada is ...@@ -9,8 +9,12 @@ project DataView_Ada is
end Naming; end Naming;
package Compiler is 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 Compiler;
end DataView_Ada; end DataView_Ada;
\ No newline at end of file
...@@ -9,8 +9,12 @@ project DataView_c is ...@@ -9,8 +9,12 @@ project DataView_c is
end Naming; end Naming;
package Compiler is 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 Compiler;
end DataView_c; end DataView_c;
\ No newline at end of file
export ASN1SCC=$(shell which asn1.exe)
all: all:
gprbuild -p -P og.gpr # generate Ada code from the SDL model 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 gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
......
...@@ -9,8 +9,12 @@ project DataView_Ada is ...@@ -9,8 +9,12 @@ project DataView_Ada is
end Naming; end Naming;
package Compiler is 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 Compiler;
end DataView_Ada; end DataView_Ada;
\ No newline at end of file
...@@ -9,8 +9,12 @@ project DataView_c is ...@@ -9,8 +9,12 @@ project DataView_c is
end Naming; end Naming;
package Compiler is 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 Compiler;
end DataView_c; end DataView_c;
\ No newline at end of file
export ASN1SCC=$(shell which asn1.exe)
all: all:
gprbuild -p -P og.gpr # generate Ada code from the SDL model 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 gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
......
...@@ -9,8 +9,12 @@ project DataView_Ada is ...@@ -9,8 +9,12 @@ project DataView_Ada is
end Naming; end Naming;
package Compiler is 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 Compiler;
end DataView_Ada; end DataView_Ada;
\ No newline at end of file
export ASN1SCC=$(shell which asn1.exe)
all: all:
gprbuild -p -P function2.gpr # generate Ada code from the SDL model 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 gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
......
...@@ -9,8 +9,12 @@ project DataView_Ada is ...@@ -9,8 +9,12 @@ project DataView_Ada is
end Naming; end Naming;
package Compiler is 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 Compiler;
end DataView_Ada; end DataView_Ada;
\ No newline at end of file
...@@ -9,8 +9,12 @@ project DataView_c is ...@@ -9,8 +9,12 @@ project DataView_c is
end Naming; end Naming;
package Compiler is 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 Compiler;
end DataView_c; end DataView_c;
\ No newline at end of file
...@@ -2,7 +2,7 @@ project function2 is ...@@ -2,7 +2,7 @@ project function2 is
for Languages use ("SDL"); for Languages use ("SDL");
for Source_Dirs use ("."); for Source_Dirs use (".");
for Object_Dir use "code"; for Object_Dir use "code";
for Source_Files use ("system_structure.pr"); for Source_Files use ("function2.pr");
package Naming is package Naming is
for Body_Suffix ("SDL") use ".pr"; for Body_Suffix ("SDL") use ".pr";
...@@ -11,6 +11,6 @@ project function2 is ...@@ -11,6 +11,6 @@ project function2 is
package Compiler is package Compiler is
for Driver ("SDL") use "opengeode"; for Driver ("SDL") use "opengeode";
for Object_File_Suffix ("SDL") use ".adb"; 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 Compiler;
end function2; end function2;
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment