Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 6, 2011, 3:37:01 AM (13 years ago)
Author:
rgrieder
Message:

Found a better solution to make the Visual Leak Detector (MSVC specific) work so that it doesn't need to be included in every single source file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/OrxonoxConfig.cmake

    r8368 r8409  
    9292      SET(VISUAL_LEAK_DETECTOR_ENABLE off)
    9393    ENDIF()
     94    SET(VLD_LIBRARY vld.lib)
     95    # Force symbol reference
     96    # The alternative would be to include vld.h everywhere (includes windows.h)
     97    ADD_LINKER_FLAGS("-INCLUDE:__imp_?vld@@3VVisualLeakDetector@@A" Debug)
    9498  ENDIF()
    9599  MARK_AS_ADVANCED(VLD_DLL)
Note: See TracChangeset for help on using the changeset viewer.