[Stk] stk build system ported to automake/libtool

Stephen Sinclair sinclair at music.mcgill.ca
Tue Oct 1 04:53:45 PDT 2013


Hi,

While we're talking about re-organizing things, I took the liberty of
playing with porting the build system to automake.  Checkout my
"automake" branch to see:

https://github.com/radarsat1/stk/tree/automake

I'm not suggesting to necessarily merge this right away or even at all
(if there is no consensus), but I thought it might be nice to give an
idea of how it could work.  The workflow is very similar to the
existing autoconf-based build, but all the complexities of install
targets, cross-compiling, dist-making, etc are handled by automake.

In addition, building outside the source directory works.  (So-called
"VPATH builds")  This allows e.g. to have one build directory
configured for debug, and another for release, alleviating the need
for those Debug and Release folders.

The Makefile.in files are replaced by rather simpler Makefile.am files.

The user must run "autogen.sh" instead of running "autoconf" directly.
 The autogen.sh script is set up to automatically create a "build"
directory configured for debug mode.

Tested so far on Linux and Mac only, with automake-1.11.


Steve



More information about the Stk mailing list