Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/tools/build/v2/example/make/Jamfile @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 670 bytes
Line 
1
2# Declare a project id.
3project make
4    # Specify requirements for this project. They will be propagated to child project.
5    # Use 'bjam -n' to see that MACRO is defined when compiling lib/b.obj
6    : requirements <define>MACRO
7    ;
8
9# Load a project located at "extlib", and associated with project-id "/extlib".
10use-project /extlib : extlib ;
11
12# Construct a target 'a' from a list of sources using the specified rule.
13make a
14    :   a.o  # Use a target declared in this Jamfile
15    lib/b.o  # Use a target from other Jamfile
16    @/extlib/c.o  # Refer to a library by project-id
17
18    : gcc.link ;
19
20
21# Construct another target.
22make a.o : a.cpp : gcc.compile ;
Note: See TracBrowser for help on using the repository browser.