Search code examples
adagnat-gps

How do I specify an include directory in ADA GPS


I was given an Ada source file from a co-worker to include in an existing project. This source file wants to include the win32.ads which I see in c:\gnatpro\include\win32ada . But my installation of GnatPro doesn't look into this folder area, only the version-specific c:\gnatpro\6.2.2... I'm not sure what I need to change to force the build tools to see c:\gnatpro\include as well (if it was C/C++ I'd add -i).

Any suggestions on how to modify my build command to include c:\gnatpro\include ?


Solution

  • Add the environment variable ADA_INCLUDE_PATH=dir to include the folder into the build process.