Re: Visual studio macros for OUTPUT_DIRECTORY

Albert <[email protected]> Wed, 2 Jun 2021 09:42:21 +0200
Newsgroups gmane.text.doxygen.devel
Message-ID <CABOOx7aB2Yt5VL34cdZo6E9PviX21DSyXFpweQkVaeo7kHun=Q@mail.gmail.com>
--===============1509785132962956284==
Content-Type: multipart/alternative; boundary="00000000000088401705c3c39bc4"

--00000000000088401705c3c39bc4
Content-Type: text/plain; charset="UTF-8"

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

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

<div dir=3D"ltr"><div>As far as I can see this works in doxygen.</div><div>=
- which version of doxygen are you using?<br></div><div>- the OutputDir has=
 to be set otherwise the used directory will be the root</div><div>- the ou=
tput directory is not created recursively so the path up to the last direct=
ory has to exists (so in case OutputDir=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">https://github.com/doxygen/doxygen/pull/844=
4</a>) exists though.<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"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 7:56 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">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 i=
s 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 $(ProjectDir)logo/logo.jpg=C2=A0 // this is working fine</div><div>OUTP=
UT_DIRECTORY=C2=A0 =C2=A0=3D$(OutputDir)/ // this does not work for me.</di=
v><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=
)doxygen.exe $(ProjectDir)doxyfile</div><div><br></div><div>Can someone hel=
p me with 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 Enginee=
r,<br>Tel: +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>

--00000000000088401705c3c39bc4--


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


--===============1509785132962956284==
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

--===============1509785132962956284==--