This is a simple example Jam project. Play around with it to get
a feel for Jam.
Things to try:
- Run "jam" from this directory. This will create the "hello"
executable in a sub directory called "obj".
- Run "jam -sINSTALL_DIR=install_here install" to install
"hello" into a directory called "install_here".
- Run "jam -sINSTALL_DIR=install_here uninstall" to reassure
yourself that "hello" can be uninstalled.
- 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.
Notes on modifying the Jamfile:
- See
Jamfiles and Jambase for technical documentation on Jam.
(Jambase is the default set of jam rules.)
- 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.