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

Christian Engwer christi at uni-hd.de
Fri Apr 3 17:16:39 CEST 2009


> I agree, but then the directory structure is incorrect.

well, actualle it isn't correct now either.

> 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.

so two oppinions... we should discuss this question with all
developers, actually there is a bug report concerning this question:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=386

Please comment on this subject.

Before making any new de-facto standards, I'd like a clear
decision. After a decision, we shouldn't only update duneproject bus
also the existing modules.

Christian

> Nevertheless I will remove the symlink from duneproject
> again in a second.
>
>
>>
>> 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
>>   
>
>
>
>
>




More information about the Dune mailing list