Tuesday, October 28, 2008

Using Bjam In my Projects

Using Bjam In my Projects


Concept of Bjam in Boost.Build

*every element must be seperated by blank/tab/CRLN
*the only variable type is string list
*Project file can be Jamroot or Jamfile. Jamroot should using as root Project file name
*Project file composed by target builds, all target builds described by rules.
*rule is described by properties.

What is Rule?
Every kind of rule has following definition.
rulename : targets : sources : requirements : default-build : usage-requirements;

What is project rule?
project rule is a definition of project, it affects all other target builds.
requirements part of project describe properties they are necessary for project,
for example property indicate other build target to find source code file.
you can also specify condition properties at here to choose correct build targets.
default-build contains default properties when they not specified in command line.
usage-requirements contain properties they will be propagate to other projects
which using and depend them.


source code link:
http://docs.google.com/View?docid=ddcpkw86_0dfrdfqg8

No comments: