I have made a fix, maybe some one can verify this.
When SOURCE_BROWSER not configured, I now get a HTML link from the
'CTestExtra Class Reference' page, to the 'TestExtra.h File Reference'
page.
I have one minor problem... In my current project the 'local' flag is
not always set for local include files.
So var local == false.
The only problem I have is that the include is sometimes showed as
#include <test.h> in stead of #include "test.h"
But I think I noticed this problem earlier today also, before I
started hacking the code..
StdAfx.h works OK, but my TestExtra.h doesnt... Strange.
I have a really small test project, in case some one has any idea.
Below my changes, to get some working HTML Links..
Regards,
Edgar
Doxygen.cpp - line 769:
if ( fd->generateSourceFile()) // generate code for header
{
cd->setIncludeFile(fd,iName,local,!root->includeName.isEmpty());
}
#ifndef ETA_CHANGE
else if ( fd->isLinkable())
{
cd->setIncludeFile(fd,iName,local,!root->includeName.isEmpty());
}
#endif // ED
else // put #include in the class documentation without link
{
cd->setIncludeFile(0,iName,local,TRUE);
}
classdef.cpp - line 1247 :
if (m_impl->incInfo->fileDef)
{
#ifndef ETA_CHANGE
if ( m_impl->incInfo->fileDef->isLinkable() )
ol.writeObjectLink(0,m_impl->incInfo->fileDef->getOutputFileBase(),0,nm );
else
#endif // ETA_CHANGE
ol.writeObjectLink(0,m_impl->incInfo->fileDef->includeName(),0,nm );
}
|