OSDN Git Service

[CMake] Put -Werror to CMAKE_CXX_FLAGS instead of using add_llvm_definitions()
authorAlexey Samsonov <samsonov@google.com>
Thu, 13 Mar 2014 13:08:47 +0000 (13:08 +0000)
committerAlexey Samsonov <samsonov@google.com>
Thu, 13 Mar 2014 13:08:47 +0000 (13:08 +0000)
commitb9aefe6d09ed9f99982316055d39152f53c01f02
tree146ec7985952ff01b305136d28384fadb81270b6
parent383470ec146ae09113566054bac4da2b673f889e
[CMake] Put -Werror to CMAKE_CXX_FLAGS instead of using add_llvm_definitions()

add_definitions shouldn't really be used for compiler flags, and the variable
LLVM_DEFINITIONS is not appropriately used at the moment, e.g. it's not exported
to LLVMConfig.cmake

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203792 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake