How to reference user library when building application

View: New views
1 Messages — Rating Filter:   Alert me  

How to reference user library when building application

by rcmcminn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am attempting to build an application using GNAT GPS under linux. The application is dependent on a user-defined library. To support the use of the library, I have created a library project and included that project in the dependencies of the Ada main project.

When I build the main project, all source compiles as expected.  When the build process gets to the link phase, it errors due to missing library references contained in the user library.

I can successfully build the application from the command line via "gnatmake -Pmain.gpr -aO../lib", but I would like to undersand how to accomplish the same hting from the IDE.

What must be done to add the ../lib search path to the IDE?
LightInTheBox - Buy quality products at wholesale price