[Home]Boost.Build V2/HelloWorld

BOOST WIKI | Boost.Build V2 | RecentChanges | Preferences | Page List | Links List

Showing revision 3

Boost.Build Project Structure

The simplest project Boost.Build is able to build is obviously the classical "Hello, world!" C++ program.

The project consists of Hello.cpp C++ source file and a special file named Jamroot written in Boost.Jam language. When you execute the bjam executable it locates the Jamroot file and executes build instructions in it.

The Jamroot file contains a single line:

exe hello : hello.cpp ;

It instructs Boost.Build to build hello executable from hello.cpp.

hello is a target.

Run bjam to build the hello executable by compiling and linking hello.cpp.

Targets and Dependencies

This syntax should be familiar to the users of Make.

Hello, World

[buy lipitor online] [buy lipitor] [[buy lipitor online]]

[buy fioricet online] [buy fioricet] [[buy fioricet online]]


BOOST WIKI | Boost.Build V2 | RecentChanges | Preferences | Page List | Links List
Edit revision 3 of this page | View other revisions | View current revision
Edited August 24, 2008 1:40 pm (diff)
Search:
Disclaimer: This site not officially maintained by Boost Developers