[Scons-users] C/C++ Object Suffix to include source names

Hua Yanghao huayanghao at gmail.com
Fri Dec 7 08:43:40 EST 2018


Also a correction of the emitter, it looks like here the targets are
the "original targets" which will then be appended the variant_dir.
Now no need to pass the variant_dir and seems scons handles this already.

  1 import os
  2
  3 def targets_change(targets, sources, env):
  4     #return targets, sources
  5     new_targets = []
  6     for i in sources:
  7         new = i.name +'.o'
  8         new_targets.append(new)
  9     return new_targets, sources
On Fri, Dec 7, 2018 at 2:33 PM Hua Yanghao <huayanghao at gmail.com> wrote:
>
> Something messed up in .sconsign.db ... after removing it all is fine now ...
> Not even able to reproduce anymore ...


More information about the Scons-users mailing list