diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2009-12-01 02:21:51 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2009-12-01 02:21:51 +0000 |
commit | 5c600b54357b6c7b15c7277e944cf9883b11a7fe (patch) | |
tree | f3cf2e015b93e5defa3dc2e6b6817201d13a842d /llvm/docs | |
parent | 3e535d7efa70896eef8cce77b0420c5a3a4df54a (diff) | |
download | bcm5719-llvm-5c600b54357b6c7b15c7277e944cf9883b11a7fe.tar.gz bcm5719-llvm-5c600b54357b6c7b15c7277e944cf9883b11a7fe.zip |
Add two CMake flags LLVM_ENABLE_PEDANTIC and LLVM_ENABLE_WERROR,
PEDANTIC defaults to ON and WERROR default to off.
Also add MSVC warnings. To disable warnings add the flags
LLVM_ENABLE_WARNINGS (default on).
Patch by Tobias Grosser!
llvm-svn: 90188
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/CMake.html | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/llvm/docs/CMake.html b/llvm/docs/CMake.html index 2b7fda34477..40a2cec8e91 100644 --- a/llvm/docs/CMake.html +++ b/llvm/docs/CMake.html @@ -274,10 +274,21 @@ compiler supports this flag. Some systems, like Windows, do not need this flag. Defaults to ON.</dd> + <dt><b>LLVM_ENABLE_WARNINGS</b>:BOOL</dt> + <dd>Enable all compiler warnings. Defaults to ON.</dd> + + <dt><b>LLVM_ENABLE_PEDANTIC</b>:BOOL</dt> + <dd>Enable pedantic mode. This disable compiler specific extensions, is + possible. Defaults to ON.</dd> + + <dt><b>LLVM_ENABLE_WERROR</b>:BOOL</dt> + <dd>Stop and fail build, if a compiler warning is + triggered. Defaults to OFF.</dd> + <dt><b>LLVM_BUILD_32_BITS</b>:BOOL</dt> <dd>Build 32-bits executables and libraries on 64-bits systems. This - option is available only on some 64-bits unix systems. Defaults to - OFF.</dd> + option is available only on some 64-bits unix systems. Defaults to + OFF.</dd> <dt><b>LLVM_TARGET_ARCH</b>:STRING</dt> <dd>LLVM target to use for native code generation. This is required |