CMakeLists.txt
branch1.0
changeset 357 2b6a20528f35
parent 274 2a33883915bb
child 361 29cbdb01d5f0
     1.1 --- a/CMakeLists.txt	Wed Jan 21 18:17:28 2009 +0000
     1.2 +++ b/CMakeLists.txt	Thu Jan 22 15:15:51 2009 +0000
     1.3 @@ -7,6 +7,15 @@
     1.4  
     1.5  SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
     1.6  
     1.7 +IF(MSVC)
     1.8 +  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4800 /wd4996")
     1.9 +# Suppressed warnings:
    1.10 +# C4250: 'class1' : inherits 'class2::member' via dominance
    1.11 +# C4355: 'this' : used in base member initializer list
    1.12 +# C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    1.13 +# C4996: 'function': was declared deprecated
    1.14 +ENDIF(MSVC)
    1.15 +
    1.16  INCLUDE(FindDoxygen)
    1.17  INCLUDE(FindGhostscript)
    1.18