sharing a code base with vc6
-
has anyone found a good way to share a (C++) codebase between VS.net and VC6 ? i have a VC6 workspace that contains a dozen or so sub-projects (half static libs, the rest EXEs and DLLs). to satisfy all of my wonderful customers, i need to build both VC6 and VC7 versions of the static libs. right now i'm doing this the hard way: i do all my work in VC6; when i do a release, i build the VC6 versions, and save the workspace; then i copy the source tree to a new folder; open the workspace in VS.net, convert everything and rebuild. it's a surprisingly error-prone process. what i'd like is to just point both VC6 and VC7 at the same set of source files. but i'm afraid that VC7 is going to tweak the VC6 workspace/project (.dsw/.dsp) files and make my life (even more) miserable. anyone have any experience with this kind of thing? -c
-
has anyone found a good way to share a (C++) codebase between VS.net and VC6 ? i have a VC6 workspace that contains a dozen or so sub-projects (half static libs, the rest EXEs and DLLs). to satisfy all of my wonderful customers, i need to build both VC6 and VC7 versions of the static libs. right now i'm doing this the hard way: i do all my work in VC6; when i do a release, i build the VC6 versions, and save the workspace; then i copy the source tree to a new folder; open the workspace in VS.net, convert everything and rebuild. it's a surprisingly error-prone process. what i'd like is to just point both VC6 and VC7 at the same set of source files. but i'm afraid that VC7 is going to tweak the VC6 workspace/project (.dsw/.dsp) files and make my life (even more) miserable. anyone have any experience with this kind of thing? -c
Chris Losinger wrote: has anyone found a good way to share a (C++) codebase between VS.net and VC6 Yes we have. Just create a VS.NET solution and add the files from the VC6 project without copying or moving them. There is no problem from using the same source file from different projects or solutions! There are some cases where a VC6 source gives a compile error in VS.NET and in rare cases VC6 does not compile VS.NET sources. But with some minor modifications it is possible to have a cross compiler code base. Oliver