RE: [GD-General] Sharing DSP between static lib / DLL
Brought to you by:
vexxed72
From: Grills, J. <jg...@so...> - 2003-01-13 16:43:16
|
I wrote a perl script that scans some project setting files and searches for source files, and generates a DSP from that. It works well for us. We can change a setting (such as RTTI) in one place, and regenerate all the DSPs in seconds. j -----Original Message----- From: Peter Lipson [mailto:pe...@to...] Sent: Monday, January 13, 2003 10:30 AM To: gam...@li... Subject: RE: [GD-General] Sharing DSP between static lib / DLL we do an unfortunate amount of hand-editing of DSPs. This has its own problems, and it's certainly not an automated solution for keeping synchronization. But at least with a text editor you can more easily look at the whole data set that controls your build, rather than having to look into a bunch of little dialog box fields. Hmmm.. sounds like makefiles give all those benefits too... I suppose it would be best if VC++ had designed a gui front end to -real- make so you could use either mode, as appropriate. I haven't tried to generate a DSP from a makefile, but I thought that VC++ had some technique for importing nmake source files. Maybe that would be worth exploring. Peter -----Original Message----- From: gam...@li... [mailto:gam...@li...]On Behalf Of Pierre Terdiman Hi, I would like to have two versions of the same library : - a static version (simple .lib) - a dynamic version (a .dll) This is easy enough by creating two projects (.dsp) and #defining appropriate tokens. But the original DLL project has a particular source-tree (in VC++), that seems to be saved in its DSP file. Is there a way to somehow copy that source tree to the other DSP (from the lib version), without recreating everything in VC++ ? More important, how to easily keep both in sync ? (the same problem arises with project settings, if I change them in one version (say using RTTI or not), I'd like the other version to use the same settings automatically...) I'm afraid it's not possible, but it's worth asking. Pierre ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ Gamedevlists-general mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-general Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=557 |