[Ctool-develop] build system refinements
Brought to you by:
flisakow
From: Stefan S. <se...@sy...> - 2003-08-10 15:15:25
|
hi there, I committed some new files for a new build system. Right now that consists of a set of files needed for autoconf / configure, as well as a single Makefile template ('Makefile.in'), which may eventually replace src/Makefile. To try it out, step into the root directory and call 'autoconf' to generate the 'configure' script. Then run './configure' to generate the new src/Makefile. Finally, compile by running 'make -C src'. I'd like to work on this further to be able to do a full build (the library, some tools, tests, etc.) with a single command ('make test', say), and that on build directories that are *outside* the src directory. That would especially be practical if you want to make changes and test them immediately on different platforms / configurations. Anyways, before pushing that idea further I need to refine the configure tests to be fully portable, i.e. allow to detect different versions of bison/yacc, preprocessor options, etc. Best regards, Stefan |