r297106 - Define LLVM_ENABLE_WARNINGS when building standalone clang to ensure warnings get enabled
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 6 16:15:18 PST 2017
Author: ericwf
Date: Mon Mar 6 18:15:18 2017
New Revision: 297106
URL: http://llvm.org/viewvc/llvm-project?rev=297106&view=rev
Log:
Define LLVM_ENABLE_WARNINGS when building standalone clang to ensure warnings get enabled
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=297106&r1=297105&r2=297106&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Mon Mar 6 18:15:18 2017
@@ -82,6 +82,7 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
set(LLVM_SHLIB_OUTPUT_INTDIR ${LLVM_LIBRARY_OUTPUT_INTDIR})
endif()
+ option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON)
option(LLVM_INSTALL_TOOLCHAIN_ONLY
"Only include toolchain files in the 'install' target." OFF)
More information about the cfe-commits
mailing list