[Scons-users] "Defer to SCons to build build\__cpp_path.txt"

Daniel Moody dmoody256 at gmail.com
Tue Apr 26 14:51:17 EDT 2022


It depends on the specific files in question and their dependencies.
Looking at the most recent build.ninja you sent, these files only depend on
the scons build (they are from the Textfile builder, so then in the scons
build, the only dependency is the source string, which is generated from
CPPPATH in the SConscripts files).

I would like to know why ninja decided to rebuild these files if they are
already built. After this issue is occurring, then run this command

run_ninja_env.bat -d explain build\__cpp_path.txt

And ninja should say why it is attempting to rebuild the file. Please send
me the output as well.

On Tue, Apr 26, 2022, 8:18 AM liruncong2018 via Scons-users <
scons-users at scons.org> wrote:

> Hi,
>>
>> When there are file errors that are not corrected, the following lines
>>> always appear when compiling, but the file time has not changed, indicating
>>> that the file has not been regenerated.
>>
>> Is it possible not to display this information if the file is not
>>> regenerated? Otherwise, users will think these files have been updated.
>>
>> ···
>>
>> [2/2518] Defer to SCons to build build\__cpp_path.txt [2K
>>>
>>> [3/2518] Defer to SCons to build build\__link_objects.txt [2K
>>>
>>> [4/2518] Defer to SCons to build build\__define_options.txt [2K
>>>
>>> ···
>>>
>>> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20220426/23e55749/attachment.htm>


More information about the Scons-users mailing list