Fixed warnings on Visual C++

This commit is contained in:
Christophe Riccio 2011-05-31 17:41:21 +01:00
parent 6fab8113d7
commit 69c6bdd7a8

View File

@ -5,15 +5,18 @@ project(glm)
enable_testing() enable_testing()
add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_definitions(-D_CRT_SECURE_NO_WARNINGS)
#add_definitions(/Za)
#add_definitions(-pedantic) if(CMAKE_COMPILER_IS_GNUCXX)
#add_definitions(-S) #add_definitions(/Za)
#add_definitions(-s) #add_definitions(-pedantic)
add_definitions(-msse2) #add_definitions(-S)
#add_definitions(-m32) #add_definitions(-s)
#add_definitions(-mfpmath=387) add_definitions(-msse2)
#add_definitions(-ffast-math) #add_definitions(-m32)
#add_definitions(-O3) #add_definitions(-mfpmath=387)
#add_definitions(-ffast-math)
#add_definitions(-O3)
endif()
include_directories(".") include_directories(".")