Changeset 633 for trunk/SConstruct

Show
Ignore:
Timestamp:
03/27/07 18:32:54 (2 years ago)
Author:
allenb
Message:

First step at adding a memory checking mode to OpenSG2.0. The goal here it to make it easier to detect and track down dangling ptr and other types of memory
issues.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SConstruct

    r610 r633  
    481481    "enable_valgrind_checks", "Enable valgrind check code embedded in OpenSG.", False) 
    482482 
     483feature_options["enable_memory_debugging"] = sca_opts.BoolOption( 
     484    "enable_memory_debugging", "Enable memory debugging checks in OpenSG.", False) 
     485 
    483486if "win32" == platform: 
    484487    feature_options["enable_win_localstorage"] = sca_opts.BoolOption( 
     
    673676                "OSG_ICC_GNU_COMPAT"       : common_env["icc_gnu_compat"], 
    674677                "OSG_ENABLE_VALGRIND_CHECKS" : common_env["enable_valgrind_checks"], 
     678                "OSG_ENABLE_MEMORY_DEBUGGING" : common_env["enable_memory_debugging"], 
    675679                 
    676680                "OSG_WITH_JPG"       : image_format_options["jpeg"].isAvailable(),