[Scons-users] SCons is only installing .lib part of SharedLibrary on Windows when target is specified
Gary Oberbrunner
garyo at oberbrunner.com
Fri Feb 1 10:33:07 EST 2013
On Fri, Feb 1, 2013 at 10:24 AM, Dan Pidcock <dan.pidcock at googlemail.com>wrote:
> However, looking through the --taskmastertrace output did show that
> the DLL wasn't even being considered when just the application was
> being built, but the .lib was being considered.
>
This is correct behavior -- you don't need the .dll to link the .exe. Your
Install should pick up both, however, and I think it is.
You're using Default(), which tells SCons what to build if you don't
specify any targets on the cmd line. In your run 1, though, you do specify
a target (your exe) -- so it builds only what's needed to build that target.
Maybe what you want is Alias('all', ...) instead of Default(), and then say
Default(Alias('all')) to build all by default?
--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130201/c3c044c4/attachment.htm>
More information about the Scons-users
mailing list