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")
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.