Skip to content

Instantly share code, notes, and snippets.

@Leandros
Last active December 25, 2016 19:56
Show Gist options
  • Save Leandros/8c67520aa688dd0564eac2296169de85 to your computer and use it in GitHub Desktop.
Save Leandros/8c67520aa688dd0564eac2296169de85 to your computer and use it in GitHub Desktop.
Build LLVM
# Normal Build
cmake -G "Visual Studio 14 Win64" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-windows-msvc" -DCMAKE_INSTALL_PREFIX=install ..
# Open Visual Studio, select Release press build on target "INSTALL"
# Build Docs
cmake -DLLVM_BUILD_DOCS=YES -DLLVM_ENABLE_DOXYGEN=YES -DLLVM_INSTALL_DOXYGEN_HTML_DIR=doxydoc -DLLVM_ENABLE_SPHINX=YES -DLLVM_INSTALL_SPHINX_HTML_DIR=sphinxdoc -DCMAKE_INSTALL_PREFIX=install ..
cmake --build . --target doxygen
# Build Manual
cd $LLVMROOT/docs
make.bat html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment