CMake: Disabled some warnings for MSVC.

llvm-svn: 56565
This commit is contained in:
Oscar Fuentes 2008-09-24 19:27:54 +00:00
parent 3a28b9acbd
commit 24b43007d1
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ if( MSVC )
add_definitions( -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS )
add_definitions( -D_SCL_SECURE_NO_WARNINGS -DCRT_NONSTDC_NO_WARNINGS )
add_definitions( -D_SCL_SECURE_NO_DEPRECATE )
add_definitions( -wd4146 -wd4503 -wd4996 -wd4800 -wd4244 -wd4624 )
add_definitions( -wd4355 -wd4715 )
endif( MSVC )
include_directories( ${LLVM_BINARY_DIR}/include ${llvm_include_path})