Changeset 952
- Timestamp:
- 09/10/07 14:27:04 (1 year ago)
- Files:
-
- branches/fcptr_stable_jun07/Tutorials/SConstruct (modified) (5 diffs)
- branches/fcptr_stable_jun07/osg-config.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/fcptr_stable_jun07/Tutorials/SConstruct
r698 r952 51 51 default_types = ['optimized', 'debug'] 52 52 if GetPlatform() == 'win32': 53 default_types.append(" hybrid")53 default_types.append("debugrt") 54 54 55 55 # ---------- Options ------------ # … … 104 104 105 105 # Process modifications for variant combo 106 if combo["type"] == "debug ":106 if combo["type"] == "debugrt": 107 107 env_bldr.enableDebug() 108 108 env_bldr.setMsvcRuntime(EnvironmentBuilder.MSVC_MT_DBG_DLL_RT) … … 110 110 env_bldr.enableOpt(EnvironmentBuilder.STANDARD) 111 111 env_bldr.setMsvcRuntime(EnvironmentBuilder.MSVC_MT_DLL_RT) 112 elif combo["type"] == " hybrid":112 elif combo["type"] == "debug": 113 113 env_bldr.enableDebug() 114 114 env_bldr.setMsvcRuntime(EnvironmentBuilder.MSVC_MT_DLL_RT) … … 120 120 base_env.Append(CPPFLAGS = ["/wd4996",]) 121 121 122 if combo["type"] == " hybrid":122 if combo["type"] == "debyg": 123 123 base_env.Append(CPPDEFINES = ['_USE_RELEASE_RUNTIME',]) 124 124 base_env.Append(LINKFLAGS = ['/NODEFAULTLIB:msvcprtd',]) … … 131 131 if combo["type"] == "debug": 132 132 runtime_suffix = "_d" 133 elif combo["type"] == " hybrid":134 runtime_suffix = "_ h"133 elif combo["type"] == "debugrt": 134 runtime_suffix = "_drt" 135 135 136 136 # Add OpenSG libs. branches/fcptr_stable_jun07/osg-config.in
r821 r952 79 79 parser.add_option("--dbg",action="store_true",help="Output options for debug libraries.") 80 80 if "win32" == sys.platform: 81 parser.add_option("-- hybrid",action="store_true",help="Output options for hybridlibraries.")81 parser.add_option("--dbg-rt",action="store_true",help="Output options for debug runtime libraries.") 82 82 83 83 (options, pos_args) = parser.parse_args() … … 124 124 125 125 if "win32" == sys.platform: 126 if options.dbg :126 if options.dbg_rt: 127 127 lib_suffix = "_d" 128 elif options.hybrid:129 lib_suffix = "_h"130 128 131 129 config_info = ConfigInfoAdapter(libraries, lib_map, default_lib_settings,
