Changeset 848

Show
Ignore:
Timestamp:
07/25/07 23:15:39 (1 year ago)
Author:
allenb
Message:

Add OSG_DEBUG to compiler flags when building with debug symbols.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/fcptr_stable_jun07/Source/Base/Base/OSGConfig.h

    r706 r848  
    5353 
    5454 
    55 #ifdef _DEBUG 
    56 #define OSG_DEBUG 
    57 #endif 
     55//#ifdef _DEBUG 
     56//#define OSG_DEBUG 
     57//#endif 
    5858 
    5959/*-------------------------------------------------------------------------*/ 
     
    889889#endif 
    890890 
    891 #ifdef _DEBUG 
    892 #define OSG_DEBUG 
    893 #endif 
     891//#ifdef _DEBUG 
     892//#define OSG_DEBUG 
     893//#endif 
    894894 
    895895#ifdef OSG_DEBUG 
  • branches/fcptr_stable_jun07/Source/SConscript

    r578 r848  
    4444                  FRAMEWORKPATH=config_info.getFrameworkPath(), 
    4545                  FRAMEWORKS=config_info.getFrameworks()) 
     46 
     47   # Define OSG_DEBUG if needed 
     48   if combo["type"] in ["debug","hybrid"]: 
     49      lib_env.Append(CPPDEFINES=["OSG_DEBUG",]) 
    4650 
    4751   # XXX: Apply custom options