Skip to content

#include macro ignored as a dependency #3038

Open
@bdbaddog

Description

@bdbaddog

This issue was originally created at: 2017-03-06 00:28:29.
This issue was reported by: stephendhill.
stephendhill said at 2017-03-06 00:28:29

#include macro, appears to be ignored as a dependency. E.g.

#define TESTPOINT_STEERING_FILE "sys_testpoint_all_sets.h"
#include TESTPOINT_STEERING_FILE

if sys_testpoint_all_sets.h is modified and we perform a build, nothing is rebuilt.

bdbaddog said at 2017-03-06 15:21:11

This is a known issue.

Please bring your issues to the users mailing list prior to filing a bug per the bug policy.

http://scons.org/bugs.html

There is a new scanner for c/C++ files in the work which may work for this use case.

You might try using the code in this pull request and see if it resolves your
issue. Please bring discussion of this to the users mailing list.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions