[Scons-users] SCons Program is not aware of .manifest or .pdb

Bill Deegan bill at baddogconsulting.com
Fri Mar 21 14:33:05 EDT 2014


Jason,

Pull requests for docs are welcome as well as for code!

-Bill


On Fri, Mar 21, 2014 at 10:24 AM, Jason Swager <jswager at alohaoi.com> wrote:


> Sounds like the SCons 2.3.1 documentation needs to be updated in regards

> to SideEffect(). That's where the PDB example is used and where the

> non-cleaning nature of SideEffect() is explained and the Clean() method

> recommended. Good to hear that SCons is getting better; now if the docs

> could just catch up. :)

> Jason

>

>

> On Fri, Mar 21, 2014 at 8:48 AM, Dirk Bächle <tshortik at gmx.de> wrote:

>

>> Hi Shane,

>>

>>

>> On 21.03.2014 13:50, Shane Gannon (gannons) wrote:

>>

>> Hi all

>>

>>

>>

>> When compiling on Windows the SCons Program() is unaware that a .pdb and

>> .manifest may be generated. i.e. They are not listed as targets. Hence the

>> cache and clean do not work as desired.

>>

>>

>>

>>

>> when using the "PDB" variable as described in the Wiki link below, the

>> *.pdb file should get added to the list of targets for the Program(). If

>> this doesn't work on your side, please provide a little more information

>> about how you setup the Environment and call the Program builder. Ideally,

>> show us a simple SConstruct demonstrating the problem.

>>

>> I looked up the sources (v2.3.1), and the PDB target is not created via

>> SideEffect()...so it should behave like a normal target.

>> The same holds for the WINDOWS_EMBED_MANIFEST variable, that should

>> generate the .manifest files for you (at least for MSVC version >= 8.0).

>>

>> Finally, please not that (opposed to what Jason said in his answer)

>> SideEffect files get removed on a clean build automatically. There should

>> be no need to "wrap" SideEffects into another Clean.

>>

>> Best regards,

>>

>> Dirk

>>

>>

>> This must be a common requirement. How do people usually address it?

>> There is an article on embedding manifests into the executable.

>>

>>

>>

>> http://www.scons.org/wiki/EmbedManifestIntoTarget

>>

>>

>>

>> This works and seems like a general good idea. But are there any

>> alternatives that also take into account .pdb files?

>>

>>

>>

>> Is there any reason for SCons excluding these items from the target?

>>

>>

>>

>> Regards

>>

>> Shane

>>

>>

>>

>> _______________________________________________

>> Scons-users mailing list

>> Scons-users at scons.org

>> http://four.pairlist.net/mailman/listinfo/scons-users

>>

>>

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140321/37641109/attachment.htm


More information about the Scons-users mailing list