Re: New Build System Requirements
Stephan Bergmann <[email protected]> Tue, 02 Feb 2010 10:25:05 +0100
| Newsgroups | gmane.comp.openoffice.devel.tools |
|---|---|
| Message-ID | <[email protected]> |
On 02/02/10 10:05, Jussi Pakkanen wrote: > Another point is "However, there are many cases where the current > build process depends on a large set of external tools like bash, awk, > findutils, coreutils." Does the actual building require these or is it > more of a case of "need these, because dmake/build.pl needs these"? In > my OOo CMake experiment I built idlc, generated urd, Java etc all > without needing the tools listed. Perhaps someone could post an > example from current build where these are used. One example that comes to mind is solenv/inc/tg_shl.mk calling solenv/bin/addsym.awk on Linux and solenv/bin/addsym-macosx.sh on Mac OS X, each needed to adjust the generic linker version map files checked into the OOo code base to the specific needs of those respective platforms. > If one is going to go the CMake route, the long term smart thing to do > is probably to convert these existing things into CMake's internal > syntax. It has quite a rich library of stuff. Yes, this is more work > but the good news is that you don't have to do it at once. First you > can replicate the old build system by calling the awk scripts and what > have you and then replace them one by one. With CMake macros and some > discipline this is straightforward. Sounds good. -Stephan