aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CMake.html
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-12-20 09:47:13 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-12-20 09:47:13 +0000
commit784a176bc38c0dea540217dd5c7f6f0c77e89205 (patch)
tree3faa4c79f9f8324ed7e37a732026cc3a7d28a9dc /docs/CMake.html
parentec33e8dcd668ce0f54bc9d6e5b5c9e3e13ac5c43 (diff)
downloadexternal_llvm-784a176bc38c0dea540217dd5c7f6f0c77e89205.zip
external_llvm-784a176bc38c0dea540217dd5c7f6f0c77e89205.tar.gz
external_llvm-784a176bc38c0dea540217dd5c7f6f0c77e89205.tar.bz2
New cmake option LLVM_APPEND_VC_REV for controlling when the VC
revision id is appended to the LLVM version string. Defaults to OFF. Until now the VC revision id was always appended to the revision string whenever cmake was invoked (either explicitly or implicitly because a cmake source file changed). This was causing massive recompilations because config.h are reconfigured with the new contents of PACKAGE_VERSION. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CMake.html')
-rw-r--r--docs/CMake.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/CMake.html b/docs/CMake.html
index c5c5538..0bafedd 100644
--- a/docs/CMake.html
+++ b/docs/CMake.html
@@ -286,6 +286,12 @@
ON. You can use that option for disabling the generation of build
targets for the LLVM unit tests.</dd>
+ <dt><b>LLVM_APPEND_VC_REV</b>:BOOL</dt>
+ <dd>Append version control revision info (svn revision number or git
+ revision id) to LLVM version string (stored in the PACKAGE_VERSION
+ macro). For this to work cmake must be invoked before the
+ build. Defaults to OFF.</dd>
+
<dt><b>LLVM_ENABLE_THREADS</b>:BOOL</dt>
<dd>Build with threads support, if available. Defaults to ON.</dd>