Re: [anjuta-list] One more question about Anjuta



Hi,

Le 02/03/2016 23:39, Igor Korot a écrit :
the problem here is that those library (-ies) is/are part of the program
I'm building and I do develop them as well.

I can add the include and lib flags from the library to the project

Then, you have to do that and you don't need to install the libraries first.


but how do I make sure that the library/ies will build first?

This is not really supported by Anjuta but with autotools you can do that by putting your program and the library using it in a different directory. Then the Makefile.am at the top, should be almost empty (there is no real target inside) but it should contains a variable named SUBDIRS listing all sub directories and the order is important. You have to eventually edit this file to make sure that the directory containing your library is listed before the directory containing the program using it. Eventually if you need to build things in the top directory, you can add . in this list.


Regards,

Sébastien


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]