|Re: Adding shared library like gtkmm [message #669291 is a reply to message #667858]
||Mon, 09 May 2011 19:05
| Jeff Johnston
Registered: July 2009
Yes, autotools are supported via the Linux Tools Autotools plugin.|
If you have an existing project that uses Autotools, import your code from your source repository via CVS, SVN, Git, or whatever and during the import select to use the New Project Wizard.
Select C or C++, depending on what the project uses and there you should see a variety of project types. Select GNU Autotools Project and under that category, select Empty Project (as opposed to Hello World project).
You can also choose to do the checkout or import separate and after-the-fact convert the project over. Select File->New Project->C/C++->Convert to Autotools Project.
You can just build the project after that using the default configuration or if you need to set configuration options, go to Project->Properties->Autotools->Configure Settings.
From the Project menu you can Reconfigure if needed or run any of the various autotools supported: autoconf, automake, aclocal, autoreconf, autoheader, or libtoolize.
Regarding using a shared library you have installed, this requires you to set LD_LIBRARY_PATH at run time. This can be done via the Run Configurations... dialog. There will be a tab call Environment that you can set environment variables to be used in running or debugging your C or C++ project.
Powered by FUDForum
. Page generated in 0.05096 seconds