summaryrefslogtreecommitdiff
path: root/docs/CMake.html
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-10-28 14:38:35 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-10-28 14:38:35 +0000
commitda9756365b0404cd127150594d0906e7f730a457 (patch)
tree66b53d940ff0f4c1b9f673e7030f449d25bab123 /docs/CMake.html
parenta264f72d3fb9dec1427480fcf17ef3c746ea723a (diff)
downloadllvm-da9756365b0404cd127150594d0906e7f730a457.tar.gz
llvm-da9756365b0404cd127150594d0906e7f730a457.tar.bz2
llvm-da9756365b0404cd127150594d0906e7f730a457.tar.xz
Document LLVM_BUILD_TESTS, LLVM_INCLUDE_TESTS. New convenience target
UnitTests for building all the unit tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CMake.html')
-rw-r--r--docs/CMake.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/CMake.html b/docs/CMake.html
index 491f0afd8b..2f2af24f6f 100644
--- a/docs/CMake.html
+++ b/docs/CMake.html
@@ -272,6 +272,20 @@
ON. You can use that option for disabling the generation of build
targets for the LLVM examples.</dd>
+ <dt><b>LLVM_BUILD_TESTS</b>:BOOL</dt>
+ <dd>Build LLVM unit tests. Defaults to OFF. Targets for building
+ each unit test are generated in any case. You can build a specific
+ unit test with the target <i>UnitTestNameTests</i> (where at this
+ time <i>UnitTestName</i> can be ADT, Analysis, ExecutionEngine,
+ JIT, Support, Transform, VMCore; see the subdirectories
+ of <i>unittests</i> for an updated list.) It is possible to build
+ all unit tests with the target <i>UnitTests</i>.</dd>
+
+ <dt><b>LLVM_INCLUDE_TESTS</b>:BOOL</dt>
+ <dd>Generate build targets for the LLVM unit tests. Defaults to
+ ON. You can use that option for disabling the generation of build
+ targets for the LLVM unit tests.</dd>
+
<dt><b>LLVM_ENABLE_THREADS</b>:BOOL</dt>
<dd>Build with threads support, if available. Defaults to ON.</dd>