Re: [anjuta-list] One more question about Anjuta
- From: Igor Korot <ikorot01 gmail com>
- To: Sébastien Granjoux <seb sfo free fr>
- Cc: anjuta-list gnome org
- Subject: Re: [anjuta-list] One more question about Anjuta
- Date: Thu, 3 Mar 2016 16:14:56 -0500
Sebastien,
On Thu, Mar 3, 2016 at 3:27 PM, Sébastien Granjoux <seb sfo free fr> wrote:
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.
Yes, that was my intentions (you actually said that I have to create a
directory for it
in another reply of this thread ;-) ).
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.
So I will have to manually edit something as Anjuta will not be able to help me
here?
Could you please elaborate a little on this change? Should I do that
after regenerating
everything?
What I intend to do is create the directory for the .a library called
src, drop the .cpp/.h
files there, add them to the sub-target I added and then do "Build ->
Build Project".
At which point I should do this change?
Thank you.
Regards,
Sébastien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]