mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Fixed warnings on Visual C++
This commit is contained in:
parent
6fab8113d7
commit
69c6bdd7a8
@ -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(".")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user