Changeset 301

Show
Ignore:
Timestamp:
10/16/06 10:30:41 (2 years ago)
Author:
dirk
Message:

initial version of NVPerfkitSDK

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Dirk_RenderTraversalWork/SConstruct

    r221 r301  
    241241zlib_option = sca_opts.StandardPackageOption("zlib","zlib library location", 
    242242                                             library="z", header="zlib.h", required=False)                                              
    243  
    244 format_options = [jpeg_option,tiff_option,png_option,zlib_option] 
     243nvperfsdk_option = sca_opts.StandardPackageOption("NVPerfSDK", "NVPerfSDK library location", header="NVPerfSDK.h", 
     244                                             library="NVPerfSDK", required=False) 
     245 
     246format_options = [jpeg_option,tiff_option,png_option,zlib_option,nvperfsdk_option] 
    245247# Setup options 
    246248opts.AddOption(sca_opts.SeparatorOption("\nStandard settings")) 
     
    264266opts.AddOption(sca_opts.BoolOption("enable_fcdprocess","If true, enable support for fcdProcess in the build.",False)) 
    265267opts.AddOption(sca_opts.BoolOption("enable_unittests","If true, enable unit tests in the build.",True)) 
    266 opts.Add("icc_gnu_compat","<GCC Verion> to make the icc resultbinary compatible to the given gcc version. (unsupported)") 
     268opts.Add("icc_gnu_compat","<GCC Version> to make the icc resultbinary compatible to the given gcc version. (unsupported)") 
    267269if "win32" == platform: 
    268270   opts.AddOption(sca_opts.BoolOption("win_localstorage", "Use local storage instead of __declspec to get thread local storage on windows", 
     
    500502                "OSG_WITH_GLUT":glut_option.isAvailable(), 
    501503                "OSG_WITH_GIF":common_env["enable_gif"], 
    502                 "OSG_WITH_ZLIB":zlib_option.isAvailable() 
     504                "OSG_WITH_ZLIB":zlib_option.isAvailable(), 
     505                "OSG_WITH_NVPERFSDK":nvperfsdk_option.isAvailable() 
    503506               } 
    504507   if "win32" == platform:   # Win32 specific defines