[Dune] [#393] Add version macro to each module (Attachment added)

Dune dune at dune-project.org
Thu Sep 11 12:11:04 CEST 2008


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#393 - Add version macro to each module
User who did this - Andreas Dedner (dedner)

----------
we now have a method which works quite nicely.
Requires an m4 file, two changes in configure.ac:
# parse dune version 
DUNE_VERSION
and in AC_CONFIG_FILES for example
    grid/version.hh

The version.hh.in file has to be present (in this case)
under dune-grid/grid.

This results in a file dune/grid/version.hh and one can write in some
other module, e.g.,
#if DUNE_GRID_VERSION_NEWER(1,1,0)
  // code that works with the trunk
#else
  // code that works with release
#endif
----------

One or more files have been attached.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=393#comment521

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list