Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
f37afb13
Commit
f37afb13
authored
Oct 15, 2014
by
yoogx
Browse files
* Finally include machinery to compile Python code
parent
40a12b24
Changes
5
Hide whitespace changes
Inline
Side-by-side
projects/Makefile.am
View file @
f37afb13
...
...
@@ -4,7 +4,7 @@ include $(top_srcdir)/Makefile.common
BUILD_PROJECTS
=
ocarina-core.gpr ocarina-frontends.gpr
\
ocarina-backends.gpr ocarina-config.gpr ocarina-transfo.gpr
\
ocarina-main.gpr
ocarina-main.gpr
$(PYTHON_PRJ)
# All project files have to be packaged with "make dist"
...
...
@@ -26,7 +26,8 @@ OBJECT_DIRS = $(top_builddir)/src/core/objects \
$(top_builddir)
/src/frontends/objects
\
$(top_builddir)
/src/backends/objects
\
$(top_builddir)
/src/transfo/objects
\
$(top_builddir)
/src/main/objects
$(top_builddir)
/src/main/objects
\
$(top_builddir)
/src/python/objects
# Library directories (*.ali, *.a)
...
...
@@ -34,7 +35,8 @@ LIB_DIRS = $(top_builddir)/src/core/libs \
$(top_builddir)
/src/frontends/libs
\
$(top_builddir)
/src/backends/libs
\
$(top_builddir)
/src/transfo/libs
\
$(top_builddir)
/src/config/libs
$(top_builddir)
/src/main/libs
$(top_builddir)
/src/config/libs
$(top_builddir)
/src/main/libs
\
$(top_builddir)
/src/python/libs
# All directories used for the build process. If the configure is
# performed from a directory different from the top source directory,
...
...
src/python/ocarina-python.adb
View file @
f37afb13
...
...
@@ -31,12 +31,14 @@
-- --
------------------------------------------------------------------------------
pragma
Warnings
(
Off
);
-- Silence all warnings
with
Ada
.
Directories
;
use
Ada
.
Directories
;
with
Ada
.
Environment_Variables
;
use
Ada
.
Environment_Variables
;
with
Ada
.
Text_IO
;
use
Ada
.
Text_IO
;
with
GNATCOLL
.
Scripts
;
use
GNATCOLL
.
Scripts
;
with
Ocarina
.
Python_Cmd
;
package
body
Ocarina
.
Python
is
...
...
src/python/ocarina-python_cmd.adb
View file @
f37afb13
...
...
@@ -31,6 +31,9 @@
-- --
------------------------------------------------------------------------------
pragma
Warnings
(
Off
);
-- Silence all warnings
with
GNATCOLL
.
Scripts
;
use
GNATCOLL
.
Scripts
;
with
GNATCOLL
.
Scripts
.
Python
;
use
GNATCOLL
.
Scripts
.
Python
;
...
...
src/python/ocarina-python_cmd.ads
View file @
f37afb13
...
...
@@ -31,6 +31,9 @@
-- --
------------------------------------------------------------------------------
pragma
Warnings
(
Off
);
-- Silence all warnings
with
GNATCOLL
.
Scripts
;
package
Ocarina
.
Python_Cmd
is
...
...
src/python/ocarina-utils.adb
View file @
f37afb13
...
...
@@ -93,7 +93,7 @@ package body Ocarina.Utils is
begin
Write_Line
(
"Ocarina "
&
Ocarina_Version
&
" ("
&
Ocarina_
SVN_
Revision
&
")"
);
&
" ("
&
Ocarina_Revision
&
")"
);
if
Ocarina_Last_Configure_Date
/=
""
then
Write_Line
(
"Build date: "
&
Ocarina_Last_Configure_Date
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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