Reputation: 7
The gprinstall
program part of the GNAT tool-set seems to ignore the prefix attribute in the project file. It does use the --prefix
when specified on the command line. Is there a way to force it to use the prefix in the project file?
Upvotes: 0
Views: 124
Reputation: 6611
In your project file, you simply add the package Install
, where you declare which prefix you want to use:
package Install is
for Prefix use "/tmp/installed";
end Install;
If you declare a relative path, it will be prefixed with either the default prefix or the one passed on the command line.
See the manual for further details.
Upvotes: 1