Commit c8e0d108 authored by yoogx's avatar yoogx
Browse files

* New project file for the Python bindings

parent e64e28cb
......@@ -8,7 +8,8 @@ BUILD_PROJECTS=\
ocarina-backends.gpr \
ocarina-config.gpr \
ocarina-transfo.gpr \
ocarina-main.gpr
ocarina-main.gpr \
ocarina-python.gpr
# All project files have to be packaged with "make dist"
......@@ -34,7 +35,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/config/objects
# Library directories (*.ali, *.a)
......
------------------------------------------------------------------------------
-- --
-- OCARINA COMPONENTS --
-- --
-- O C A R I N A . M A I N --
-- --
-- P r o j e c t --
-- --
-- Copyright (C) 2007-2009 Telecom ParisTech, 2010-2013 ESA & ISAE. --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 2, or (at your option) any --
-- later version. Ocarina is distributed in the hope that it will be --
-- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General --
-- Public License for more details. You should have received a copy of the --
-- GNU General Public License distributed with Ocarina; see file COPYING. --
-- If not, write to the Free Software Foundation, 51 Franklin Street, Fifth --
-- Floor, Boston, MA 02111-1301, USA. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- Ocarina is maintained by the TASTE project --
-- (taste-users@lists.tuxfamily.org) --
-- --
------------------------------------------------------------------------------
with "ocarina";
with "ocarina-core";
with "ocarina-frontends";
with "ocarina-backends";
with "ocarina-transfo";
with "gnatcoll_python";
project Ocarina.Python is
Src_Dir := Ocarina.Top_Src_Dir & "/main";
Build_Dir := Ocarina.Top_Build_Dir & "/main";
for Source_Dirs use (Src_Dir, Build_Dir);
for Object_Dir use Build_Dir & "/objects";
for Library_Dir use Build_Dir & "/libs";
for Library_Name use "ocarina-python";
for Library_Kind use Ocarina.Lib_Type;
package Compiler renames Ocarina.Compiler;
package Binder renames Ocarina.Binder;
package Builder renames Ocarina.Builder;
end Ocarina.Python;
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