<div dir="ltr">Justin,<div><br></div><div>I've just made two commits: one for the doxygen config in LLVM, and one for the config in clang. I also found issues in general with using Doxygen and Graphviz in cygwin. Instead, I had success in using the native windows Doxygen installer, and simply extracting Graphviz into a path with no whitespace.</div><div><br></div><div>~Scott</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 7, 2015 at 1:01 PM, Justin Bogner via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">scott constable via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> writes:<br>
> I'm trying to build the Clang 3.7.0 doxygen from a Visual Studio<br>
> environment. Graphviz/Dot and Doxygen were installed using cygwin. I<br>
> configured the build directory with the command<br>
><br>
> $ cmake -G "Visual Studio 14" -DLLVM_ENABLE_DOXYGEN=On ..\llvm<br>
><br>
> When I open the solution, I see the projects "doxygen-clang" and<br>
> "doxygen-llvm". But when I try to build either of them, I get numerous<br>
> errors, all of which are file path issues. For instance, the configuration<br>
> had condensed "...\Program Files (x86)\..." to "...\ProgramFiles(x86)\...".<br>
> I fixed this by replacing the line<br>
><br>
> DOT_PATH = @DOT@<br>
><br>
> with<br>
><br>
> DOT_PATH = "@DOT@"<br>
><br>
> in <a href="http://doxygen.cfg.in" rel="noreferrer" target="_blank">doxygen.cfg.in</a>, but I'm still getting other path-related errors. Is this<br>
> an unsupported feature on Windows as of 3.7.0? Or am I doing something<br>
> wrong altogether?<br>
<br>
</span>I haven't tried on Windows, but it looks to me like our doxygen.cfg is<br>
just buggy. There are a number of externally supplied paths in<br>
<a href="http://doxygen.cfg.in" rel="noreferrer" target="_blank">doxygen.cfg.in</a>, and none of them are quoted. I can get similar errors to<br>
you by creating a build directory with spaces in the name on OS X.<br>
<br>
If you search through <a href="http://doxygen.cfg.in" rel="noreferrer" target="_blank">doxygen.cfg.in</a> for paths that are configured with<br>
@somename@ and put quotes around all of those values, does that fix it<br>
for you? If so, would you mind sending a patch to that effect?<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>