[jamming] Executing shell command, save results to variable

David Turner david at freetype.org
Mon Mar 19 02:52:52 PST 2007


Hi Sanel,

> > I'm currently preparing a minor release of FT-Jam. Just to tell you
> > that I'd love to be able to integrate your [ Command ] builtin in it.
> 
> David, any chance FTJam be synced with the jam 2.5? I'm using ftjam
> often,
> but some "new tools" in 2.5 (for example GLOB) are very handy when
> someone wants to write quick builds for large projects; not to say that
> would be nice to reuse Autojam library with it :)
> 

FTJam-2.5.x is *already* synced to Jam-2.5, that's why I'm using this
naming scheme. In other words, it already supports Glob and Match
(a.k.a. GLOB and MATCH)

I'm sorry if I haven't updated the web pages in ages, but you should be
able to use FTJam-2.5 rather easily, I only try to make additions to the
core Jam sources, not deviate it. Very frankly, there is no point for a
fork at the moment.

The really different things you get in FT-Jam-2.5.x are the following:

- easy Unix installation with ./configure && make && make install

- easy to use Makefiles for other platforms (e.g. Win32 and OS/2)

- the infamous HDRMACRO builtin to support "#include MY_HEADER_H" schemes

- various little fixes in library scanning in Mingw and/or VisualC++

- the ability to place command-line arguments anywhere, i.e. 
  "jam all -dx" is equivalent to "jam -dx all"

- automatic recognition of command-line variable assignments, to make
  the "-s" flag optional, i.e. "jam -sFOO=BAR" is equivalent to "jam FOO=BAR"

- selection of the toolset through the JAM_TOOLSET variable, really useful
  on Windows to switch quickly between compilers without

This is listed in the CHANGES file in the FT-Jam distribution with other details

there are also a few undocumented features in the Jambase, but I won't comment
them at the moment.

Hope this helps,

- David

> --
> Sanel
> _______________________________________________
> jamming mailing list  -  jamming at perforce.com
> http://maillist.perforce.com/mailman/listinfo/jamming


More information about the jamming mailing list