[Scons-users] debug info (*.pdb) and manifest question
Francis Bolduc
fbolduc at gmail.com
Wed Feb 6 17:41:48 EST 2013
I'd like to know as well how other people do it.
I'm currently doing lots of custom code to support parallel (-j)
builds with PDB as well as manifests with incremental linking. I have
to hijack the Program, SharedLibrary and StaticLibrary builder to do
that.
Now some of my developers want pre-compiled headers and this causes a
few glitches with the hack I did for parallel PDB support.
The Microsoft Visual C++ bits are, by far, the ugliest part of my
boilerplate SCons code. Supporting the other toolchains is so much
simpler.
--
Francis Bolduc, B.Sc.
On Wed, Feb 6, 2013 at 1:12 AM, Nikola Radovanovic
<nikola.radovanovic at schneider-electric-dms.com> wrote:
> hi,
> can someone recommend me the best (cleanest) way to tell the SCons to append
> debug info and call manifest tool for C++/Fortran (on windows naturally)
>
> can i just do as follows:
>
> env = Environment()
> env['PDB'] = '${TARGET}.pdb'
> env['LINKCOM'] = [env['LINKCOM'], 'mt.exe -nologo -manifest
> ${TARGET}.manifest -outputresource:$TARGET;1']
> env['SHLINKCOM'] = [env['SHLINKCOM'], 'mt.exe -nologo -manifest
> ${TARGET}.manifest -outputresource:$TARGET;2']
>
> shall i set CCPDBFLAGS also?
>
> thanks in advance.
>
> best regards
>
> --
> nikola
> __________________________________________________________________________________________________________________
>
>
>
> Nikola Radovanovic | Schneider Electric DMS NS | Smart Grid IT | SERBIA |
> CPASv2 team deputy
>
> Phone: +381 (0)21 488 3633 | Fax: +381 (0)21 488 3789 | Mobile: +381 (0)64
> 29 74 528
>
> Email: nikola.radovanovic at schneider-electric-dms.com | Site:
> www.schneider-electric-dms.com | Address: Narodnog fronta 25A-D, 21000 Novi
> Sad
>
> *** Please consider the environment before printing this e-mail
>
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
More information about the Scons-users
mailing list