Skip to content

[bndbuild] When a rule is deactivated by a constraint, bnduild should say it to the user when it want to build it #50

@rgiot

Description

@rgiot

For example, we have this rule

- tgt: checkdata
  phony: true
  constraint: Os(linux)
  cmd: extern python3 checkdata_analysis.py

It works properly under linux.
under windows it does not exists and the current message is

 bndbuild.exe checkdata
Failure
Target checkdata is not buildable. You may want to build clean

It is better if it becomes

 bndbuild.exe checkdata
Failure
Target checkdata is not buildable (it is deactivated by the constraint Os(linux)`. You may want to build clean

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions