Changeset 8057 for code/branches/kicklib/cmake/CompilerConfigMSVC.cmake
- Timestamp:
- Mar 11, 2011, 3:26:56 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/cmake/CompilerConfigMSVC.cmake
r7818 r8057 64 64 SET_COMPILER_FLAGS("-MD -O2 -Zi -DNDEBUG" RelWithDebInfo CACHE) 65 65 SET_COMPILER_FLAGS("-MD -O1 -DNDEBUG" MinSizeRel CACHE) 66 ADD_COMPILER_FLAGS("-D_SECURE_SCL=0" MSVC9 ReleaseAll CACHE) 66 67 # No iterator checking for release builds (MSVC 8 dosn't understand this though) 68 ADD_COMPILER_FLAGS("-D_SECURE_SCL=0" ReleaseAll CACHE) 69 70 # Newer MSVC versions come with std::shared_ptr which conflicts with 71 # boost::shared_ptr in cpptcl. And since we don't yet use the new C++ standard 72 # anyway, disable it completely. 73 ADD_COMPILER_FLAGS("-D_HAS_CPP0X=0" CACHE) 67 74 68 75 # Use Link time code generation for Release config if ORXONOX_RELEASE is defined
Note: See TracChangeset
for help on using the changeset viewer.