[Dune] [Dune-Commit] dune-common r5500 - trunk/bin

Oliver Sander sander at mi.fu-berlin.de
Fri Apr 3 17:06:26 CEST 2009


I agree, but then the directory structure is incorrect.

A new module 'dune-foo' currently contains a directory
'dune-foo' which contains the headers.  That way you
can include headers by #include <dune-foo/bla.hh>.
This is the solution I like best, but you need the symlink
for backward compatibility.

What you propose is to have a directory 'dune' that
contains a subdirectory 'foo' and nothing else.  That
way you can write #include <dune/foo/bla.hh> again,
However I don't think that being able to write dune/foo
instead of dune-foo doesn't warrant the additional
directory-structure-ugliness.

Nevertheless I will remove the symlink from duneproject
again in a second.

--
Oliver

>
> Please don't propagate this symlink-behaviour any further. Wasn't it
> you who sugegsted to drop the symlink. I think the solution with a
> directory dune/"modulename"/ is really te cleaner solution.
>
> Christian
>
>   
>> Modified: trunk/bin/duneproject
>> ===================================================================
>> --- trunk/bin/duneproject	2009-04-03 13:38:12 UTC (rev 5499)
>> +++ trunk/bin/duneproject	2009-04-03 13:45:04 UTC (rev 5500)
>> @@ -308,6 +308,9 @@
>>  # this implies checking for $CHECK
>>  DUNE_CHECK_ALL
>>  
>> +# Create a symlink dune --> . in the main module directory
>> +DUNE_SYMLINK
>> +
>>  # implicitly set the Dune-flags everywhere
>>  AC_SUBST(AM_CPPFLAGS, \$DUNE_CPPFLAGS)
>>  AC_SUBST(AM_LDFLAGS, \$DUNE_LDFLAGS)
>>
>>
>> _______________________________________________
>> Dune-Commit mailing list
>> Dune-Commit at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune-commit
>>
>>
>>     
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>   


-- 
************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75348           *
* Institut für Mathematik      ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************





More information about the Dune mailing list