Commit 66766fa9 authored by Maxime Perrotin's avatar Maxime Perrotin

improve gpr file

parent 82f50aeb
...@@ -135,6 +135,9 @@ The background pattern was downloaded from www.subtlepatterns.com ...@@ -135,6 +135,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog Changelog
========= =========
2.0.40 (04/2019)
- Improve generated gpr file
2.0.39 (04/2019) 2.0.39 (04/2019)
- Fix append operator when using substrings - Fix append operator when using substrings
- Fix unicode issue - Fix unicode issue
......
...@@ -264,7 +264,7 @@ end {pr}_Lib;'''.format(pr=process_name.lower(), ...@@ -264,7 +264,7 @@ end {pr}_Lib;'''.format(pr=process_name.lower(),
# Create a .gpr to build the Ada generated code # Create a .gpr to build the Ada generated code
ada_gpr = '''project {pr}_Ada is ada_gpr = '''project {pr}_Ada is
for Languages use ("Ada"); for Languages use ("Ada");
for Source_Dirs use ("."); for Source_Dirs use (".") & External_As_List ("CODE_PATH", ":");
for Object_Dir use "obj"; for Object_Dir use "obj";
end {pr}_Ada;'''.format(pr=process_name.lower()) end {pr}_Ada;'''.format(pr=process_name.lower())
......
...@@ -141,7 +141,7 @@ except ImportError: ...@@ -141,7 +141,7 @@ except ImportError:
__all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse'] __all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse']
__version__ = '2.0.39' __version__ = '2.0.40'
if hasattr(sys, 'frozen'): if hasattr(sys, 'frozen'):
# Detect if we are running on Windows (py2exe-generated) # Detect if we are running on Windows (py2exe-generated)
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
**/tmp/ **/tmp/
**/build/ **/build/
*/code/
*/GPS_project.gpr */GPS_project.gpr
*/*generated */*generated
*/generated* */generated*
......
Markdown is supported
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