Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/program_options/build/Jamfile @ 12

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

added boost

File size: 1.6 KB
Line 
1
2subproject libs/program_options/build ;
3
4SOURCES = cmdline config_file options_description parsers variables_map
5          value_semantic positional_options utf8_codecvt_facet convert
6          winmain
7;
8
9lib boost_program_options
10     : ../src/$(SOURCES).cpp
11     : # build requirements
12       [ common-names ] # magic for install and auto-link features
13       <include>$(BOOST_ROOT) <sysinclude>$(BOOST_ROOT)
14       std::locale-support
15     : debug release  # build variants
16     ;
17
18dll boost_program_options
19     : ../src/$(SOURCES).cpp
20     : # build requirements
21       [ common-names ]  # magic for install and auto-link features
22       <define>BOOST_ALL_DYN_LINK=1  # tell source we're building dll's
23       <runtime-link>dynamic  # build only for dynamic runtimes
24       <include>$(BOOST_ROOT) <sysinclude>$(BOOST_ROOT)
25       # The following really turns on static runtime linking
26       # which leads to runtime crashes when using DLL, so
27       # seem DLL is not usable on Metrowerks 8
28       # std::facet-support std::locale-support
29     : debug release  # build variants
30     ;
31
32install program_options lib
33     : <lib>boost_program_options <dll>boost_program_options
34     ;
35
36stage stage/lib : <lib>boost_program_options <dll>boost_program_options
37    :
38        # copy to a path rooted at BOOST_ROOT:
39        <locate>$(BOOST_ROOT)
40        # make sure the names of the libraries are correctly named:
41        [ common-names ]
42        # add this target to the "stage" and "all" psuedo-targets:
43        <target>stage
44        <target>all
45    :
46        debug release
47    ;
48
49# end
Note: See TracBrowser for help on using the repository browser.