Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
a358c44a
Commit
a358c44a
authored
May 07, 2020
by
Maxime Perrotin
Browse files
Update version
parent
c5dd06a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/opengeode.py
View file @
a358c44a
...
...
@@ -7,7 +7,7 @@
SDL is the Specification and Description Language (Z100 standard from ITU)
Copyright (c) 2012-20
19
European Space Agency
Copyright (c) 2012-20
20
European Space Agency
Designed and implemented by Maxime Perrotin
...
...
@@ -140,7 +140,7 @@ except ImportError:
__all__
=
[
'opengeode'
,
'SDL_Scene'
,
'SDL_View'
,
'parse'
]
__version__
=
'3.0.
0
'
__version__
=
'3.0.
1
'
if
hasattr
(
sys
,
'frozen'
):
# Detect if we are running on Windows (py2exe-generated)
...
...
@@ -2002,14 +2002,19 @@ end {pr};'''.format(pr=prj_name,
end Naming;
package Compiler is
for Driver ("ASN1") use
"asn1.exe"
;
for Driver ("ASN1") use
external("ASN1SCC")
;
for Leading_Required_Switches ("ASN1") use ("-{lang}", "-typePrefix", "Asn1Scc"{otherAsn});
for Leading_Required_Switches ("ASN1") use
("-{lang}",
"-typePrefix",
"Asn1Scc"{otherAsn});
end Compiler;
end DataView_{lang};'''
# Template for the Makefile
template_makefile
=
'''all:
template_makefile
=
'''export ASN1SCC=$(shell which asn1.exe)
all:
\t
gprbuild -p -P {pr}.gpr # generate Ada code from the SDL model
\t
gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
\t
gprbuild -p -P code/{pr}_ada.gpr # build the Ada code
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment