[Scons-users] MVSC & AlwaysBuild
    Roman Karlstetter 
    Roman.Karlstetter at ifta.com
       
    Fri Jul 11 09:11:01 EDT 2014
    
    
  
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
    
    
More information about the Scons-users
mailing list