Re: Visual studio macros for OUTPUT_DIRECTORY

Albert <[email protected]> Wed, 2 Jun 2021 10:04:26 +0200
Newsgroups gmane.text.doxygen.devel
Message-ID <CABOOx7bd5HqZQ7osCQ2ui_he4YSiLTKNsjbZxb-rqQWWBJXeXA@mail.gmail.com>
--===============0522453971676592391==
Content-Type: multipart/alternative; boundary="00000000000088f91005c3c3ea19"

--00000000000088f91005c3c3ea19
Content-Type: text/plain; charset="UTF-8"

You wrote:

the archive file name is: doxygenw20140924_1_8_8
>
No this is definitely not the latest version the latest doxygen version is
1.9.1 (see https://www.doxygen.nl/download.html)
Which OS are you using?

I downloaded the latest binary from doxygen site.
>
which site is this (please give the link, especially seen the version there)

It should work with 1.8.8 as well (but still much better to update). Don't
you get a warning / error when you run doxygen? What happens when you run
doxygen outside Visual Studio with the Doxyfile used and the same,
environment, settings?

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Jun 2, 2021 at 9:54 AM Marius Zavincu <[email protected]>
wrote:

> I downloaded the latest binary from doxygen site. the archive file name
> is: doxygenw20140924_1_8_8
>
> All macros are defined into Visual studio and paths already exists before
> calling doxygen.exe at post build event.
>
> Do I need another version?
>
> On Wed, Jun 2, 2021 at 10:42 AM Albert <[email protected]> wrote:
>
>> As far as I can see this works in doxygen.
>> - which version of doxygen are you using?
>> - the OutputDir has to be set otherwise the used directory will be the
>> root
>> - the output directory is not created recursively so the path up to the
>> last directory has to exists (so in case OutputDir=a/b/c/d/e the path
>> a/b/c/d has to exist, the e will be created). A proposed patch (
>> https://github.com/doxygen/doxygen/pull/8444) exists though.
>> - note the comment in a Doxyfile is not // but # (but in the question
>> probably just to indicate the problem)
>>
>>
>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
>> www.avg.com
>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> <#m_899525823274694168_m_-7319742719737917001_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Wed, Jun 2, 2021 at 7:56 AM Marius Zavincu <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I want to be able to use Visual Studio macros to define the
>>> OUTPUT_DIRECTORY inside the configuration file but I noticed that it is not
>>> working. I am able to use these macros for PROJECT_LOGO for example.
>>>
>>> PROJECT_LOGO           = $(ProjectDir)logo/logo.jpg  // this is working
>>> fine
>>> OUTPUT_DIRECTORY   =$(OutputDir)/ // this does not work for me.
>>>
>>> I am calling this config file from command line. I am using the latest
>>> doxy exe file.
>>>
>>> call $(ProjectDir)doxygen.exe $(ProjectDir)doxyfile
>>>
>>> Can someone help me with this? How can I use macros for OUTPUT_DIRECTORY?
>>>
>>> --
>>> Marius Zavincu,
>>> Software Engineer,
>>> Tel: +40745660920
>>>
>>> _______________________________________________
>>> Doxygen-develop mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/doxygen-develop
>>>
>>
>
> --
> Marius Zavincu,
> Software Engineer,
> Tel: +40745660920
>
>

--00000000000088f91005c3c3ea19
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>You wrote:</div><div><br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex"><div>the archive file name is:=C2=A0doxygenw201=
40924_1_8_8 <br></div></blockquote><div>No this is definitely not the lates=
t version the latest doxygen version is 1.9.1 (see <a href=3D"https://www.d=
oxygen.nl/download.html">https://www.doxygen.nl/download.html</a>)</div><di=
v>Which OS are you using?<br></div><div><br></div><div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex"><div>I
downloaded the latest binary from doxygen site.</div></blockquote><div>whic=
h site is this (please give the link, especially seen the version there)</d=
iv><div><br></div><div>It should work with 1.8.8 as well (but still much be=
tter to update). Don&#39;t you get a warning / error when you run doxygen? =
What happens when you run doxygen outside Visual Studio with the Doxyfile u=
sed and the same, environment, settings?<br></div>

</div></div><div id=3D"DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style=3D"border-top:1px solid #d3d4de">
	<tr>
        <td style=3D"width:55px;padding-top:13px"><a href=3D"http://www.avg=
.com/email-signature?utm_medium=3Demail&amp;utm_source=3Dlink&amp;utm_campa=
ign=3Dsig-email&amp;utm_content=3Dwebmail" target=3D"_blank"><img src=3D"ht=
tps://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" al=
t=3D"" width=3D"46" height=3D"29" style=3D"width: 46px; height: 29px;"></a>=
</td>
		<td style=3D"width:470px;padding-top:12px;color:#41424e;font-size:13px;fo=
nt-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href=
=3D"http://www.avg.com/email-signature?utm_medium=3Demail&amp;utm_source=3D=
link&amp;utm_campaign=3Dsig-email&amp;utm_content=3Dwebmail" target=3D"_bla=
nk" style=3D"color:#4453ea">www.avg.com</a>
		</td>
	</tr>
</table><a href=3D"#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width=3D"1" heigh=
t=3D"1"></a></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"=
gmail_attr">On Wed, Jun 2, 2021 at 9:54 AM Marius Zavincu &lt;<a href=3D"ma=
ilto:[email protected]">[email protected]</a>&gt; wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">I d=
ownloaded the latest binary from doxygen site. the archive file name is:=C2=
=A0doxygenw20140924_1_8_8<div><br></div><div>All macros are defined into Vi=
sual studio and paths already exists before calling doxygen.exe at post bui=
ld event.</div><div><br></div><div>Do I need another version?</div></div><b=
r><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, =
Jun 2, 2021 at 10:42 AM Albert &lt;<a href=3D"mailto:[email protected]=
" target=3D"_blank">[email protected]</a>&gt; wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>As far as I=
 can see this works in doxygen.</div><div>- which version of doxygen are yo=
u using?<br></div><div>- the OutputDir has to be set otherwise the used dir=
ectory will be the root</div><div>- the output directory is not created rec=
ursively so the path up to the last directory has to exists (so in case Out=
putDir=3Da/b/c/d/e the path a/b/c/d has to exist, the e will be created). A=
 proposed patch (<a href=3D"https://github.com/doxygen/doxygen/pull/8444" t=
arget=3D"_blank">https://github.com/doxygen/doxygen/pull/8444</a>) exists t=
hough.<br></div><div>- note the comment in a Doxyfile is not // but # (but =
in the question probably just to indicate the problem)<br></div></div><div =
id=3D"gmail-m_899525823274694168gmail-m_-7319742719737917001DAB4FAD8-2DD7-4=
0BB-A1B8-4E2AA1F9FDF2"><br>
<table style=3D"border-top:1px solid rgb(211,212,222)">
	<tbody><tr>
        <td style=3D"width:55px;padding-top:13px"><a href=3D"http://www.avg=
.com/email-signature?utm_medium=3Demail&amp;utm_source=3Dlink&amp;utm_campa=
ign=3Dsig-email&amp;utm_content=3Dwebmail" target=3D"_blank"><img src=3D"ht=
tps://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" al=
t=3D"" style=3D"width: 46px; height: 29px;" width=3D"46" height=3D"29"></a>=
</td>
		<td style=3D"width:470px;padding-top:12px;color:rgb(65,66,78);font-size:1=
3px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a=
 href=3D"http://www.avg.com/email-signature?utm_medium=3Demail&amp;utm_sour=
ce=3Dlink&amp;utm_campaign=3Dsig-email&amp;utm_content=3Dwebmail" style=3D"=
color:rgb(68,83,234)" target=3D"_blank">www.avg.com</a>
		</td>
	</tr>
</tbody></table><a href=3D"#m_899525823274694168_m_-7319742719737917001_DAB=
4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width=3D"1" height=3D"1"></a></div><br><=
div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Jun=
 2, 2021 at 7:56 AM Marius Zavincu &lt;<a href=3D"mailto:marius.zavincu@gma=
il.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi,<div>=
<br></div><div>I want to be able to use Visual Studio macros to define the =
OUTPUT_DIRECTORY inside the configuration file but I noticed that it is not=
 working. I am able to use these macros for PROJECT_LOGO for example.</div>=
<div><br></div><div>PROJECT_LOGO =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D $(P=
rojectDir)logo/logo.jpg=C2=A0 // this is working fine</div><div>OUTPUT_DIRE=
CTORY=C2=A0 =C2=A0=3D$(OutputDir)/ // this does not work for me.</div><div>=
<br></div><div>I am calling this config file from command line. I am using =
the latest doxy exe file.</div><div><br></div><div>call $(ProjectDir)doxyge=
n.exe $(ProjectDir)doxyfile</div><div><br></div><div>Can someone help me wi=
th this? How can I use macros for OUTPUT_DIRECTORY?<br clear=3D"all"><div><=
br></div>-- <br><div dir=3D"ltr">Marius Zavincu,<br>Software Engineer,<br>T=
el: +40745660920<br><br></div></div></div>
_______________________________________________<br>
Doxygen-develop mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/doxygen-develop" re=
l=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/list=
info/doxygen-develop</a><br>
</blockquote></div>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
>Marius Zavincu,<br>Software Engineer,<br>Tel: +40745660920<br><br></div>
</blockquote></div>

--00000000000088f91005c3c3ea19--


--===============0522453971676592391==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============0522453971676592391==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Doxygen-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-develop

--===============0522453971676592391==--