tags:

views:

28

answers:

0

Hi all,

Our compiler produces a debug file in addition to the object file. This debug file is needed for the final debugging target. I already added this file as additional dependency for the target. But when using a CacheDir() this file should be stored together with the object file.

I already tried to add the debug file as a SideEffect() and Depends() of the object file as well as Depends() of the final target. But I had no luck with this. SCons only stores the object file in the CacheDir() and does not know how to build the debug file.

Is it possible to store both files in the cache directory, so that they are both retrieved when building the target?