[llvm-dev] Building a single .rst file

Xing GUO via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 29 09:14:48 PDT 2020


On 7/30/20, Paul C. Anagnostopoulos <paul at windfall.com> wrote:
> Is "Unix Makefiles" what I want if I am building on Windows using GNU make?

Yes, exactly.

Best Regards,
Xing

> At 7/28/2020 10:41 PM, Xing GUO wrote:
>>On 7/29/20, Paul C. Anagnostopoulos via llvm-dev
>><llvm-dev at lists.llvm.org> wrote:
>>> Folks,
>>>
>>> Total newbie here. What is the simplest way to build a single .rst file
>>> so
>>> that I can look at the generated HTML? I have CMake, Python, and Sphinx
>>> installed.
>>
>>Hi Paul,
>>
>>I'm not sure if there are ways to build a single .rst file. But I
>>usually build LLVM documentation via the following steps.
>>
>>```
>>$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
>>-DLLVM_ENABLE_SPHINX=On $YOUR_LLVM_PROJECT_PATH/llvm
>>$ make docs-llvm-html
>>```
>>
>>Best Regards,
>>Xing
>
>


-- 
Cheers,
Xing


More information about the llvm-dev mailing list