Hi Clark,
This is off topic, but it might be of general interest.
You should take a look at MPC (Make Project Creator) -- an open source=20
project developed and supported by my company, OCI.
http://www.ociweb.com/products/mpc
Using the same very simple project definition files can generate=20
projects for VC6, VC7, VC8, and make files for gcc, sunCC, and a host of=20
other build tool sets.
.
For example in recent project I defined a workspace (aka solution)=20
containing two projects like so:
workspace {
TSL
TSL_UT
}
In the TSL directory
project: {
sharedname =3D TSL
dynamicflags +=3D TSL_BUILD_DLL
}
generates a DLL named TSL.dll using every cpp & .h file in the TSL=20
directory,
while in the TSL_UT directory
project {
exename =3D TSL_UT
libs +=3D TSL
lit_libs +=3D libboost_unit_test_framework-vc71-mt-gd-1_33_1
after +=3D TSL
}
which uses all the source files in TSL_UT to generate an EXE. The=20
TSL.lib and and the boost unit test framework are linked in, and there=20
is a build order dependency on TSL.
This is a fairly simple example, but MPC is also used in much more=20
complicated situations. It is used to generate all of the make files=20
and project files for ACE and TAO -- a cross platform library that runs=20
on dozens of platforms and involves thousands of source files -- many of=20
them generated by compilers, parser generators, etc.
and, of course, MPC free for the downloading.
Dale
Clark Sims wrote:
> I have been doing a conslting gig for about 6 months. I have had a=20
> horrilbe time getting projects to port from one windows box to another.
>
> When I create a project directory, compile everytthing, zip it and=20
> ship it, it never seems to work on the other side.
>
> Likewise when another developer sends me a ziped project directory=20
> try, I have to open up the project, replace all of the relative path=20
> names with absolute names, and recompile everything from scratch.
>
> I would have sworn quickfix used nmake to compile the Microsoft code,=20
> but when I went to the website today, I saw project files! How in the=20
> world did you make all of these project files? Did you point and=20
> click and add all of the files by hand? That seems like a Herculean tas=
k!
>
> How did you get the project files to port across different machines? =20
> I can't do this for anything!
>
> -----------------------------------------------------------------------=
-
> Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries=20
> <http://us.rd.yahoo.com/mail_us/taglines/postman9/*http://us.rd.yahoo.c=
om/evt=3D39666/*http://beta.messenger.yahoo.com/>=20
> for just 2=A2/min with Yahoo! Messenger with Voice.=20
|