[Orxonox-commit 1711] r6429 - code/trunk/cmake

rgrieder at orxonox.net rgrieder at orxonox.net
Mon Dec 28 23:17:19 CET 2009


Author: rgrieder
Date: 2009-12-28 23:17:18 +0100 (Mon, 28 Dec 2009)
New Revision: 6429

Modified:
   code/trunk/cmake/CompilerConfigMSVC.cmake
Log:
No STL iterator bounds checking for MSVC release versions.

Modified: code/trunk/cmake/CompilerConfigMSVC.cmake
===================================================================
--- code/trunk/cmake/CompilerConfigMSVC.cmake	2009-12-28 22:10:37 UTC (rev 6428)
+++ code/trunk/cmake/CompilerConfigMSVC.cmake	2009-12-28 22:17:18 UTC (rev 6429)
@@ -73,6 +73,7 @@
 SET_COMPILER_FLAGS("-MD  -O2     -DNDEBUG -MP2"       Release        CACHE)
 SET_COMPILER_FLAGS("-MD  -O2 -Zi -DNDEBUG -MP2"       RelWithDebInfo CACHE)
 SET_COMPILER_FLAGS("-MD  -O1     -DNDEBUG -MP2"       MinSizeRel     CACHE)
+ADD_COMPILER_FLAGS("-D_SECURE_SCL=0" MSVC9 ReleaseAll CACHE)
 
 # Use Link time code generation for Release config if ORXONOX_RELEASE is defined
 IF(ORXONOX_RELEASE)




More information about the Orxonox-commit mailing list