I recently upgraded my macOS GNAT from 2015 to Simon's latest offering ("if it ain't broke...") on new Apple hardware. At the same time I used Apple's Migration Assistant to transfer files. From Visual Studio Code, I use a short shell script to rungprbuild. This has worked flawlessly for quite a while. Now things are broken and I can't figure out what is wrong even after reviewing the gprbuild docs.
for Object_Dir use "build-normal";
for Exec_Dir use "product-normal";
for Main use ("Uniform_Aperture_Sum.adb"); -- <<< SET MAIN HERE
And here is the complaint from GNAT when I try to build:
build.gpr:61:19: "Uniform_Aperture_Sum.adb" is not a source of project "build"
gprbuild: problems with main sources
|Location:||Huddersfield, West Yorkshire, UK|
|Nodes:||16 (2 / 14)|