Can't find GNAT GPS Dependencies Form

395 views Asked by At

I'm trying to figure out why the library for GtkAda won't compile with an existing project. I believe I have the PATH and ADA_INCLUDE_PATH pointing to the right folders but the Gtk spec files (e.g., gtk.ads) are not being found during compile.

Documentation for GPS at Adacore describes The Project Dependencies Editor in section 6.9, but this isn't present in the tool menu at Project>Dependencies, where the documentations says it should be found. I can't find it anywhere else in the tool menu of in the Project Properties form.

Project Dependencies form

Where can I find this form? I'm Using Windows 7 with GNAT 2014 Academic Version and GtkAda 2014.

1

There are 1 answers

3
Simon Wright On BEST ANSWER

The documentation I found with GNAT GPL 2015 (PDF only, in $prefix/share/doc/gps/pdf) says

Edit the dependencies between projects through the contextual Project → Dependencies... menu in the Project view.

The “Project view” is the pane on the left hand of the GPS window, click on the “Project” tab. Your project should appear.

You get the contextual (popup) menu by placing the mouse over the item, in this case your project, and pressing the right mouse button.

Looking at the instructions for adding a dependency on another project, I’d have thought it a lot easier to just edit the project file directly.