Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2668


Ignore:
Timestamp:
Feb 15, 2009, 12:48:40 AM (15 years ago)
Author:
rgrieder
Message:

Had to make a workaround Microsoft arrogance when it comes down to releasing bugfixes…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem3/cmake/BuildConfigMSVC.cmake

    r2664 r2668  
    5050SET_COMPILER_FLAGS("-MDd -Od -ZI -D_DEBUG -Gm -RTC1" Debug          CACHE)
    5151SET_COMPILER_FLAGS("-MD  -O2     -DNDEBUG -MP2"      Release        CACHE)
    52 SET_COMPILER_FLAGS("-MD  -O2 -Zi -DNDEBUG"           RelWithDebInfo CACHE)
     52SET_COMPILER_FLAGS("-MD  -O2 -Zi -DNDEBUG -MP2"      RelWithDebInfo CACHE)
    5353SET_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.
     59REMOVE_COMPILER_FLAGS("-Gm" Debug MSVC09 CACHE)
     60# And since we have to remove /Gm, let's add /MP2 to speed things up
     61ADD_COMPILER_FLAGS("-MP2" Debug MSVC09 CACHE)
    5462
    5563
Note: See TracChangeset for help on using the changeset viewer.