Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8420


Ignore:
Timestamp:
May 8, 2011, 7:51:57 PM (9 years ago)
Author:
rgrieder
Message:

MSVC: use the user's vld.ini file for the Visual Leak Detector.

Location:
code/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/bin/CMakeLists.txt

    r8351 r8420  
    3232    LIST(APPEND RUN_SCRIPTS ${_script}.bat)
    3333  ENDFOREACH(_script)
    34 ENDIF()
    35 # Also copy vld.ini (visual leak detector config) for MSVC
    36 IF(MSVC)
    37   LIST(APPEND RUN_SCRIPTS vld.ini)
    3834ENDIF()
    3935
  • code/trunk/src/CMakeLists.txt

    r8417 r8420  
    6565      REMOVE_LINKER_FLAGS("-INCREMENTAL:YES" Debug)
    6666      ADD_LINKER_FLAGS   ("-INCREMENTAL:NO"  Debug)
     67    ENDIF()
     68    IF(NOT DISABLE_COMPILATIONS)
     69      # Compilations seem to generate 'memory leaks' with static variables
     70      MESSAGE("Warning: You should disable Compilations when using VLD!")
    6771    ENDIF()
    6872  ENDIF()
Note: See TracChangeset for help on using the changeset viewer.