THE JAM BUILDING TOOL |
What Why How-To Differences Download | Homepage |
Table of contents
Where can I get it? Why is Jam better than Make? Simple Jam How-To Where to get FT Jam? What is Jam?Jam is a small open-source build tool that can be used as a replacement for Make. Even though Jam is a lot simpler to use than Make, it is far more powerful and easy to master. It already works on a large variety of platforms (Unix, Windows, OS/2, VMS, MacOS, BeOS, etc.), it is trivial to port, and its design is sufficiently clear to allow any average programmer to extend it with advanced features at will. The main differences between Jam and Make are as follows.
Where can I get it?There are currently two versions of Jam available.
We highly recommend that you use FT Jam as it is 100% backwards compatible with classic Jam and can be used as a plug-in replacement for it. The list of changes between these two programs is available here. Alternatively, FT Jam exists because Perforce hadn't the time to update Jam in a very long time, and we still hope that these improvements will be integrated back to classic Jam as soon as possible. Why is Jam better than Make?There really are a lot of reasons, we name just a few of them.
Simple Jam how-toAssuming that the ‘jam’ executable is in your path (Visual Studio developers may additionally need to set the environment for command-line building, e.g. vcvars32.bat) Building a projectGo to the project's top-level directory, then type jam If you do not already have the JAM_TOOLSET environment variable set, JAM will display the available options. Set JAM_TOOLSET to the value appropriate for your environment. Otherwise, this builds your project's file. In case of error, it prints the build command (compilation, link, etc.) that produced it. Installing a projectOnce your project is compiled, type jam install This installs the project (on Unix-like systems). Cleaning after a build or installSimply type jam clean To clean all temporary targets, i.e., object files, libraries, executables, etc. Where to get FT Jam?While the official Jam 2.5 (on which the current version of FT Jam is based) is available from the Jam homepage, we provide our modified version in several ways.
The Perforce public depot holds older versions of the FT Jam sources.. Note that we no longer provide a CVS module for our Jam sources, in order to avoid painful synchonisation issues between the CVS repository and the Perforce Public depot. |
What Why How-To Differences Download | Homepage |