I have a project.gpr
used by 5 projects containing this :
MyProject_Source_Dirs :=
{
external ("HOME") & "/project2/src/**",
external ("HOME") & "/project3/src/**",
"./src/**",
"./stub/**"
}
for Source_Dirs use MyProject_Source_Dirs;
When I build my project I have following error :
"./stub" is not a valid directory
This gpr file is used for 5 different projects. 2 of theses projects have no directory named "stub". Is there a way to check if directory exists ?