[Scons-users] MVSC & AlwaysBuild

Roman Karlstetter Roman.Karlstetter at ifta.com
Fri Jul 11 09:26:44 EDT 2014


PS: As a workaround, I use

env_x86['CXXCOM'] = env_x86['CXXCOM'].replace('CHANGED_SOURCES', 'SOURCES')

I'm not sure if this is completely correct/the right way to do it.


-------- Original Message --------
Subject: [Scons-users] MVSC & AlwaysBuild (11-Jul-2014 15:11)
From:    Roman Karlstetter <Roman.Karlstetter at ifta.com>
To:      scons-users at scons.org

> Hi,
> 
> there seems to be an issues with MVSC in combination with the AlwaysBuild 
> functionality such that the generated command line is incorrect.
> 
> Use the following SConstruct to reproduce:
> 
> env = Environment(tools = ['msvc', 'mslink'])
> obj = env.Object('source.cpp')
> env.AlwaysBuild(obj)
> 
> and create (an empty) source.cpp in the same directory.
> 
> The first build runs fine, the all subsequent builds fail as scons does not 
> include the source.cpp in the compiler invocation.
> 
> Kind regards,
> Roman
> 
> 
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
> 
> To: scons-users at scons.org




More information about the Scons-users mailing list