Re: C/C++ Object Suffix to include source names

Hua Yanghao <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAPTzt1DCE8iQEshmFZuZALtRfakr2PHfrBwF_AXby3hjAGmXjA@mail.gmail.com>
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 <[email protected]> wrote:
>
> Something messed up in .sconsign.db ... after removing it all is fine now ...
> Not even able to reproduce anymore ...
_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.