Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Refactoring build system to use Autotools

Over the past couple of days I have been reading into using autotools to build my project instead of the Makefiles I have pieced together over the past couple of months. Unfortunately I have not found an example that gave me enough insight towards how my project structure is currently.

I have three libraries that are included in the application code of my project. I am looking for the best way to use a single configure script to make (and install) the application, and libraries.

like image 316
John Bellone Avatar asked Mar 01 '23 15:03

John Bellone


2 Answers

Sorry for offtopic.

I did similar thing now, but I was able to choose between Autotools and CMake. I am happy to have choosen the second.

Might be worth looking at, including CDash, CTest and CPack. http://www.cmake.org/

Best Regards,

Ovanes

like image 88
ovanes Avatar answered Mar 05 '23 17:03

ovanes


Here are a few I found that don't look to bad:

  1. http://www.lrde.epita.fr/~adl/autotools.html
  2. http://www.developingprogrammers.com/index.php/2006/01/05/autotools-tutorial/
  3. http://sources.redhat.com/autobook/

The last one is a free book

Good Luck

like image 30
Aiden Bell Avatar answered Mar 05 '23 16:03

Aiden Bell