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/src/OrxonoxConfig.cmake

    r7380 r7818  
    7979CHECK_INCLUDE_FILE_CXX(iso646.h HAVE_ISO646_H)
    8080
     81IF(MSVC)
     82  # Check whether we can use Visual Leak Detector
     83  FIND_FILE(VLD_DLL vld_x86.dll)
     84  IF(VLD_DLL)
     85    SET(HAVE_VLD TRUE)
     86    OPTION(VISUAL_LEAK_DETECTOR_ENABLE "Memory leak detector" off)
     87    # Make sure the value is "on" or "off" for vld.ini
     88    IF(VISUAL_LEAK_DETECTOR_ENABLE)
     89      SET(VISUAL_LEAK_DETECTOR_ENABLE on)
     90    ELSE()
     91      SET(VISUAL_LEAK_DETECTOR_ENABLE off)
     92    ENDIF()
     93  ENDIF()
     94  MARK_AS_ADVANCED(VLD_DLL)
     95ENDIF()
     96
    8197############## Configured Headers ###############
    8298
Note: See TracChangeset for help on using the changeset viewer.