
Ada depencencies musst be build with the same gnat version as the project. Use a namespace as preperation to build with different gnat versions. gprbuild and gnatprove are still globaly visable.
9 lines
181 B
Bash
9 lines
181 B
Bash
addAdaObjectsPath() {
|
|
local role_post
|
|
getHostRoleEnvHook
|
|
|
|
addToSearchPath "GPR_PROJECT_PATH${role_post}" "$1/share/gpr"
|
|
}
|
|
|
|
addEnvHooks "$targetOffset" addAdaObjectsPath
|