Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 26, 2010, 9:07:43 PM (13 years ago)
Author:
rgrieder
Message:

Merged changes related to Visual Leak Detector and source file handling from sandbox QT to trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/CompilerConfigMSVC.cmake

    r7810 r7818  
    3535
    3636######################## Options ########################
    37 
    38 # Currently VLD has a problem with MSVC9 although it actually is supported
    39 IF(MSVC80)
    40   OPTION(VISUAL_LEAK_DETECTOR_ENABLE "Memory leak detector" off)
    41 ENDIF()
    42 # Make sure the value is "on" or "off" for vld.ini
    43 IF(VISUAL_LEAK_DETECTOR_ENABLE)
    44   SET(VISUAL_LEAK_DETECTOR_ENABLE on)
    45 ELSE()
    46   SET(VISUAL_LEAK_DETECTOR_ENABLE off)
    47 ENDIF()
    4837
    4938# Orxonox only supports MSVC 8 and above, which gets asserted above
     
    159148IF(ORXONOX_RELEASE)
    160149  ADD_LINKER_FLAGS("-INCREMENTAL:NO -OPT:ICF -OPT:REF -LTCG" ReleaseAll   CACHE)
     150  # Static linker flags have to be added manually to a target
     151  SET(ORXONOX_STATIC_LINKER_FLAGS "/LTCG")
    161152ELSE()
    162153  ADD_LINKER_FLAGS("-INCREMENTAL:YES"                  RelWithDebInfo     CACHE)
Note: See TracChangeset for help on using the changeset viewer.