AdaCore / gprbuild

GPRbuild is an advanced build system designed to help automate the construction of multi-language systems.
Other
65 stars 21 forks source link

Wish: print project attributes or variables to debug project files. #68

Open Blady-Com opened 4 years ago

Blady-Com commented 4 years ago

Hello, GPR project files are difficult to tune because we can't get easily the actual value set for attributes or variables. An additional gprbuild option (for instance "-vPx" or whatever else) would print each project instruction as "set -x" does for shell scripts: for Default_Switches ("Ada") use Common_Options & Debug_Options; would print, for instance: INFO: Default_Switches ("Ada") => ("-gnatW8", "-O0", "-g", "-gnato")

What is your feedback? Thanks Pascal.

t-14 commented 4 years ago

Sounds like an interesting idea. We'll check if it's practical.