changeset 128:a1206301f004

Merged multicoreware/xhevc into default
author Deepthi Devaki Akkoorath <deepthidevaki@multicorewareinc.com>
date Tue, 26 Mar 2013 10:47:20 +0530
parents cdddf736f4a1 (current diff) 928a9fe490c2 (diff)
children 921103b76c69
files
diffstat 1 files changed, 4 insertions(+-), 0 deletions(-) [+]
line wrap: on
line diff
--- a/source/encoder/CMakeLists.txt	Mon Mar 25 17:44:57 2013 +0530
+++ b/source/encoder/CMakeLists.txt	Tue Mar 26 10:47:20 2013 +0530
@@ -1,14 +1,18 @@
 if (MSVC_VERSION EQUAL 1500) # VC9
     add_definitions(-DINSTRSET=6) # SSE4.2
+	add_definitions(/Ob2)
 endif()
 if (MSVC_VERSION EQUAL 1600) # VC10
     add_definitions(-DINSTRSET=7)
+	add_definitions(/Ob2)
 endif()
 if (MSVC_VERSION EQUAL 1700) # VC11
     add_definitions(-DINSTRSET=7)
+	add_definitions(/Ob2)
 endif()
 if (MSVC_VERSION GREATER 1500) # VC9 or higher
     add_definitions(/arch:SSE2)
+	add_definitions(/Ob2)
 endif()
 if(CMAKE_COMPILER_IS_GNUCXX)
     add_definitions(-DINSTRSET=6 -msse4)