Dirk Reiners wrote: > Hi Patrick, > > Patrick Hartling wrote: > >> I have attached OpenSG 2 ports of the 1.x tutorial applications >> 12ClusterServer, 12ClusterServerX, and 13ClusterClient. To get these to >> link, I had to make some modifications to Tutorials/SConstruct. I wasn't >> sure about the best way to do this, so I added some matching code to the >> loop that tells SCons to build the tutorial programs. For the case when the >> application name contains the substring "Cluster", the OSGCluster library >> gets added to the library list. For the case when the application name ends >> with "X", the OSGWindowX library gets added. >> > > thanks for the port! > > However, the name-based library selection doesn't excite me very much. > > As an alternative we could add a comment line at the top of the file that > tells > the build system which libs to link. Does anybody have objections to that? Can't it be stated into the Scons files? Either that or use a portable auto-link mechanism (i.e. boost's), is what I would prefer.
I don't really mind much, it just seem unnecessary to reinvent the wheel again. Cheers, /Marcus P.S. I'm reading up on python now and mucking about a bit with the 1.x scons system trying to learn how it works. Mainly, I need some extra link & compile options myself (osg_debug_fcptr & pdb-files for release builds), so I'll try to work that in as options and submit a (well tested) patch. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
