<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Final//EN"> <HTML> <HEAD> <TITLE>Simple Jam example</TITLE> </HEAD> <BODY> <p>This is a simple example Jam project. Play around with it to get a feel for Jam. <p>Things to try: <ul> <li> Run "jam" from this directory. This will create the "hello" executable in a sub directory called "obj". <li> Run "jam -sINSTALL_DIR=install_here install" to install "hello" into a directory called "install_here". <li> Run "jam -sINSTALL_DIR=install_here uninstall" to reassure yourself that "hello" can be uninstalled. <li> Run "jam install", which will install the hello executable to a sub directory of "shipit" according to your operating system. Note how nicely jam creates the directory for you, including any intermediate directories. </ul> <p>Notes on modifying the Jamfile: <ul> <li> See <a href="http://public.perforce.com/public/jam/src/Jamfile.html"> Jamfiles and Jambase</a> for technical documentation on Jam. (Jambase is the default set of jam rules.) <li> A common "gotcha": Jam likes spaces before and after ":", and before ";", so if it gives you some sort of syntax error, that may be the first thing to check. </ul> </BODY> </HTML>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 4438 | Chris Comparini |
Sample jam projects. "rootless" documentation still needs work. |