Commit 980cfc98 authored by yoogx's avatar yoogx

* Add --enable-python flag in configure to activate Python bindings

parent 19bb5807
......@@ -325,6 +325,19 @@ AS_HELP_STRING([--with-aadl-version=x], [choose AADL version (v1)]),
AC_MSG_RESULT(${newval})
AC_SUBST(AADL_VERSION)
#############################
# Python
#############################
AC_ARG_ENABLE(python,
[ --enable-python Build Python bindings [default=no]],
[if [[ "$enableval" = "yes" ]]; then
PYTHON_PRJ=ocarina-python.gpr
fi],
[])
AC_SUBST(PYTHON_PRJ)
##########################################
# Some version control stuff
##########################################
......
......@@ -8,8 +8,7 @@ BUILD_PROJECTS=\
ocarina-backends.gpr \
ocarina-config.gpr \
ocarina-transfo.gpr \
ocarina-main.gpr \
ocarina-python.gpr
ocarina-main.gpr $(PYTHON_PRJ)
# All project files have to be packaged with "make dist"
......
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