Changeset 619
- Timestamp:
- 03/20/07 04:17:55 (2 years ago)
- Files:
-
- trunk/Tutorials/12ClusterServer.cpp (added)
- trunk/Tutorials/12ClusterServerX.cpp (added)
- trunk/Tutorials/13ClusterClient.cpp (added)
- trunk/Tutorials/SConstruct (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Tutorials/SConstruct
r602 r619 143 143 144 144 if not opensg2_options.isAvailable(): 145 print "OpenSG not available: Skip ing viewer."145 print "OpenSG not available: Skipping viewer." 146 146 build_app = False 147 147 if not boost_options.isAvailable(): 148 print "Boost not available: Skip ing viewer."148 print "Boost not available: Skipping viewer." 149 149 build_app = False 150 150 … … 156 156 for file in tutorials: 157 157 name = file.split('.')[0] 158 local_env = base_env.Copy() 159 mylibs = local_env['LIBS'] 160 for l in open(file).readlines(): 161 if l.startswith("// Libs:"): 162 mylibs += ["OSG"+m for m in l[8:].split()] 163 164 print file, mylibs 158 165 # Build the test program and install into tree 159 loader = base_env.Program(name+runtime_suffix, file)166 loader = local_env.Program(name+runtime_suffix, file, LIBS = mylibs) 160 167 161 168 Default(".")
