Changeset 2668
- Timestamp:
- Feb 15, 2009, 12:48:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/cmake/BuildConfigMSVC.cmake
r2664 r2668 50 50 SET_COMPILER_FLAGS("-MDd -Od -ZI -D_DEBUG -Gm -RTC1" Debug CACHE) 51 51 SET_COMPILER_FLAGS("-MD -O2 -DNDEBUG -MP2" Release CACHE) 52 SET_COMPILER_FLAGS("-MD -O2 -Zi -DNDEBUG "RelWithDebInfo CACHE)52 SET_COMPILER_FLAGS("-MD -O2 -Zi -DNDEBUG -MP2" RelWithDebInfo CACHE) 53 53 SET_COMPILER_FLAGS("-MD -O1 -DNDEBUG -MP2" MinSizeRel CACHE) 54 55 # Microsoft unfortunately couldn't integrate a fix issued while VS 2008 beta 2 56 # was being tested into the final release even though a fix existed... 57 # And it's actually quite a big issue, you simple can't compile anything. 58 # Fortunately for us, disabling Minimal Rebuild solves the problem. 59 REMOVE_COMPILER_FLAGS("-Gm" Debug MSVC09 CACHE) 60 # And since we have to remove /Gm, let's add /MP2 to speed things up 61 ADD_COMPILER_FLAGS("-MP2" Debug MSVC09 CACHE) 54 62 55 63
Note: See TracChangeset
for help on using the changeset viewer.