[llvm-commits] [llvm] r56565 - /llvm/trunk/CMakeLists.txt
Oscar Fuentes
ofv at wanadoo.es
Wed Sep 24 12:27:55 PDT 2008
Author: ofv
Date: Wed Sep 24 14:27:54 2008
New Revision: 56565
URL: http://llvm.org/viewvc/llvm-project?rev=56565&view=rev
Log:
CMake: Disabled some warnings for MSVC.
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=56565&r1=56564&r2=56565&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Wed Sep 24 14:27:54 2008
@@ -85,6 +85,8 @@
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})
More information about the llvm-commits
mailing list