[LLVMdev] How to build LLVM doxygen in HTML ?
Hans Wennborg
hans at chromium.org
Wed May 6 09:20:21 PDT 2015
Hi Bo,
On Tue, May 5, 2015 at 2:48 AM, Bo <wb_llvm at 163.com> wrote:
> Hi, everyone.
>
> I want to get a copy of the doxygen web-pages of llvm, so I can work with it
> without the internet. I did as follows:
>
> $ cd LLVM_ROOT_DIR
> $ mkdir out
> $ cd out/
> $ ../configure --enable-doxygen
> $ make ENABLE_OPTIMIZED=1
>
> But it only built llvm without documentation. I also tried
>
> $ make BUILD_FOR_WEBSITE=1 ENABLE_OPTIMIZED=1
>
> and
>
> $ make ENABLE_OPTIMIZED=1 EXTRA_DIST=1
>
> All of them did not work. How could I build the web pages ?
I usually build it like this:
$ cd $LLVM_DIR
$ mkdir build.doxygen
$ cd build.doxygen
$ cmake -GNinja -DLLVM_ENABLE_DOXYGEN=ON -DLLVM_BUILD_DOCS=ON ..
$ ninja doxygen
(Wait a while..)
Docs are written to docs/doxygen/html/
More information about the llvm-dev
mailing list