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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 399 |
Nodes: | 16 (2 / 14) |
Uptime: | 65:15:17 |
Calls: | 8,355 |
Calls today: | 15 |
Files: | 13,159 |
Messages: | 5,893,953 |
Posted today: | 1 |