X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=CMakeLists.txt;h=aec7d65689a0e55b5756c26a4a0357f00af396f6;hb=ff2e9b4225ab55ee049b33158a9cce1ef138c2f7;hp=371d73bbd98eb53be3cf49a1aadf8de368ddd21c;hpb=b361452ef9ad9453b2874cd12fc9ee65085d1f57;p=oota-llvm.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 371d73bbd98..aec7d65689a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -247,7 +247,10 @@ if( MSVC ) add_llvm_definitions( -D_SCL_SECURE_NO_DEPRECATE ) add_llvm_definitions( -wd4146 -wd4503 -wd4996 -wd4800 -wd4244 -wd4624 ) add_llvm_definitions( -wd4355 -wd4715 -wd4180 -wd4345 -wd4224 -wd4267 -wd4291 ) - add_llvm_definitions( -wd4275) + add_llvm_definitions( -wd4275 ) + + # Promote "enumerator in switch of enum is not handled" to level 1 warning. + add_llvm_definitions( -w14062 ) # Suppress 'new behavior: elements of array 'array' will be default initialized' add_llvm_definitions( -wd4351 ) @@ -332,6 +335,7 @@ add_subdirectory(lib/MC/MCDisassembler) add_subdirectory(lib/Object) add_subdirectory(utils/FileCheck) +add_subdirectory(utils/FileUpdate) add_subdirectory(utils/count) add_subdirectory(utils/not) add_subdirectory(utils/llvm-lit)