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 | f12a90098aec2f8e496ab67ccbe119e19fbe40c3 (patch) | |
tree | 4c9c47f6ac31d6d8e112fadfd084734f64d207ef /docs | |
parent | 18f0c677faaca54974333f2e7e353e94280628ab (diff) | |
download | external_llvm-f12a90098aec2f8e496ab67ccbe119e19fbe40c3.zip external_llvm-f12a90098aec2f8e496ab67ccbe119e19fbe40c3.tar.gz external_llvm-f12a90098aec2f8e496ab67ccbe119e19fbe40c3.tar.bz2 |
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!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CMake.html | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/docs/CMake.html b/docs/CMake.html index 2b7fda3..40a2cec 100644 --- a/docs/CMake.html +++ b/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 |