[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42093] trunk/blender/intern/cycles/ CMakeLists.txt: Cycles: build flags tweaks to avoid errors with msvc debug build.

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Nov 23 17:30:50 CET 2011


Revision: 42093
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42093
Author:   blendix
Date:     2011-11-23 16:30:50 +0000 (Wed, 23 Nov 2011)
Log Message:
-----------
Cycles: build flags tweaks to avoid errors with msvc debug build.

Modified Paths:
--------------
    trunk/blender/intern/cycles/CMakeLists.txt

Modified: trunk/blender/intern/cycles/CMakeLists.txt
===================================================================
--- trunk/blender/intern/cycles/CMakeLists.txt	2011-11-23 16:30:41 UTC (rev 42092)
+++ trunk/blender/intern/cycles/CMakeLists.txt	2011-11-23 16:30:50 UTC (rev 42093)
@@ -12,9 +12,9 @@
 	set(WITH_CYCLES_OPTIMIZED_KERNEL ON)
 
 	if(WIN32 AND MSVC)
-		set(CYCLES_OPTIMIZED_KERNEL_FLAGS "/Ox /Ot /arch:SSE2 -D_CRT_SECURE_NO_WARNINGS /EHsc /fp:fast")
+		set(CYCLES_OPTIMIZED_KERNEL_FLAGS "/arch:SSE2 -D_CRT_SECURE_NO_WARNINGS /fp:fast")
 	elseif(CMAKE_COMPILER_IS_GNUCC)
-		set(CYCLES_OPTIMIZED_KERNEL_FLAGS "-ffast-math -msse -msse2 -msse3 -DGOGOGO")
+		set(CYCLES_OPTIMIZED_KERNEL_FLAGS "-ffast-math -msse -msse2 -msse3")
 	endif()
 endif()
 




More information about the Bf-blender-cvs mailing list