Commit d64a7c3b authored by Roland Levillain's avatar Roland Levillain
Browse files

Exercise Milena precompiled wrappers.

	* test/wrappers/test-milena.cc: New.
	* test/wrappers/Makefile.am: New.
	* test/Makefile.am (SUBDIRS): Append `wrappers' and prepend `.'.
	* configure.ac: Configure test/wrappers/Makefile.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4698 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 4a951368
2009-11-02 Roland Levillain <roland@lrde.epita.fr>
Exercise Milena precompiled wrappers.
* test/wrappers/test-milena.cc: New.
* test/wrappers/Makefile.am: New.
* test/Makefile.am (SUBDIRS): Append `wrappers' and prepend `.'.
* configure.ac: Configure test/wrappers/Makefile.
2009-11-02 Roland Levillain <roland@lrde.epita.fr>
Start to provide some precompiled wrappers for Milena.
......
......@@ -214,6 +214,7 @@ AC_CONFIG_FILES([
_config/local-config.rb
test/Makefile
test/vaucanson/Makefile
test/wrappers/Makefile
], [chmod +x bin/dyn-config])
# Instantiate the output files.
......
......@@ -17,7 +17,7 @@
AM_CPPFLAGS = -I$(srcdir)/fixtures -I$(top_srcdir)/src -I$(top_builddir)/src
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
SUBDIRS = vaucanson
SUBDIRS = . vaucanson wrappers
#erb# =begin # Read the documentation of erbx to see how to change this part
#erb# <%
......
# Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
# Olena is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2 of the License.
#
# Olena 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
# along with Olena. If not, see <http://www.gnu.org/licenses/>.
LDADD = \
$(top_builddir)/src/wrappers/libdynmilena.la \
$(top_builddir)/src/libdyn.la
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src
check_PROGRAMS = test-milena
test_milena_SOURCES = test-milena.cc
TESTS = $(check_PROGRAMS)
// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
// Olena is free software: you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation, version 2 of the License.
//
// Olena 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
// along with Olena. If not, see <http://www.gnu.org/licenses/>.
//
// As a special exception, you may use this file as part of a free
// software project without restriction. Specifically, if other files
// instantiate templates or use macros or inline functions from this
// file, or you compile this file and link it with other files to produce
// an executable, this file 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 General Public License.
/// \file
/// Exercise the Milena wrappers.
#include <wrappers/milena.hh>
int main()
{
dyn::language::var ima = dyn::mln::mk_image2d_int(3, 3);
dyn::mln::fill(ima, 0);
dyn::mln::println("ima (before) =", ima);
dyn::mln::iota(ima);
dyn::mln::println("ima (after) =", ima);
}
Supports Markdown
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