Using other projects

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Josh Dahlby (n/a)
Date: 05/14/04


Date: Fri, 14 May 2004 09:36:01 -0700

Two questions, using VC 6.0 if that matters:

1. Is there any way to use another .dsw in your project? Say that
abc.dsw defines a project with all the dependencies setup correctly,
etc. Now, say that xyz.dsw needs to use the library that abc.dsw
builds. Is there anyway that I can set that up to build within the
IDE without having to redefine everything that abc.dsw has setup in
xyz.dsw? I know you can build the abc.dsw then just link to the .lib,
but I'd like to be able to have abc build when I build xyz.

2. Is there a way to specify that a static libary uses other .libs so
that when I have a dependency on that library it will automatically
include those .libs? Currently if I have abc.lib and it uses def.lib,
I have to add both abc.lib and def.lib to a project that only uses the
abc.lib interfaces. I'd rather specify that abc.lib uses def.lib and
when I build something that uses abc.lib it knows to also use def.lib.

Hope that makes sense. Thanks,

Josh



Relevant Pages

  • Re: Static link problems using VS2005
    ... will specify these libs in Linker tab (Additional Dependencies) for the ... project, you specify which of the other projects it depends on, and VS will ... not adjust the build ordering based on these libs. ... your point that specifying pre-built .libs on the Linker tab ...
    (microsoft.public.vc.mfc)
  • Re: Static link problems using VS2005
    ... built, the ones it depends on will have already been built. ... assumes that all the .lib files you specify by typing them into the Linker ... your point that specifying pre-built .libs on the Linker tab ...
    (microsoft.public.vc.mfc)
  • OS X install cant see libs in /sw
    ... I've installed several libraries required by PHP5 using Fink but when I specify '=/sw' or '=/sw/lib' in 'configure' PHP claims the libs don't exist. ...
    (comp.lang.php)