From a637b8eac069a078d58e21743f97a509f96bce70 Mon Sep 17 00:00:00 2001 From: xgupta Date: Tue, 20 Apr 2021 09:27:57 +0530 Subject: [PATCH] [Docs] Mention LLVM_EXPERIMENTAL_TARGETS_TO_BUILD variable in CMake.rst Beginners might not aware of this variable and wanted to try a new experimental target. Although this variable mention in Writing a Backend Documentation. But it becomes easy to search when listed in cmake.rst doc where most variables are listed. Reviewed By: myhsu Differential Revision: https://reviews.llvm.org/D100729 --- llvm/docs/CMake.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst index bb821b4..589b09f 100644 --- a/llvm/docs/CMake.rst +++ b/llvm/docs/CMake.rst @@ -225,6 +225,11 @@ LLVM-specific variables targets. Case-sensitive. Defaults to *all*. Example: ``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC"``. +**LLVM_EXPERIMENTAL_TARGETS_TO_BUILD**:STRING + Semicolon-separated list of experimental targets to build and linked into + llvm. This will build the experimental target without needing it to add to the + list of all the targets available in the LLVM's main CMakeLists.txt. + **LLVM_BUILD_TOOLS**:BOOL Build LLVM tools. Defaults to ON. Targets for building each tool are generated in any case. You can build a tool separately by invoking its target. For -- 2.7.4