Jamroot 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  1. # Copyright Vladimir Prus 2002-2006.
  2. # Copyright Dave Abrahams 2005-2006.
  3. # Copyright Rene Rivera 2005-2007.
  4. # Copyright Douglas Gregor 2005.
  5. #
  6. # Distributed under the Boost Software License, Version 1.0.
  7. # (See accompanying file LICENSE_1_0.txt or copy at
  8. # http://www.boost.org/LICENSE_1_0.txt)
  9. # Usage:
  10. #
  11. # bjam [options] [properties] [install|stage]
  12. #
  13. # Builds and installs Boost.
  14. #
  15. # Targets and Related Options:
  16. #
  17. # install Install headers and compiled library files to the
  18. # ======= configured locations (below).
  19. #
  20. # --prefix=<PREFIX> Install architecture independent files here.
  21. # Default; C:\Boost on Win32
  22. # Default; /usr/local on Unix. Linux, etc.
  23. #
  24. # --exec-prefix=<EPREFIX> Install architecture dependent files here.
  25. # Default; <PREFIX>
  26. #
  27. # --libdir=<DIR> Install library files here.
  28. # Default; <EPREFIX>/lib
  29. #
  30. # --includedir=<HDRDIR> Install header files here.
  31. # Default; <PREFIX>/include
  32. #
  33. # stage Build and install only compiled library files
  34. # ===== to the stage directory.
  35. #
  36. # --stagedir=<STAGEDIR> Install library files here
  37. # Default; ./stage
  38. #
  39. # Other Options:
  40. #
  41. # --build-type=<type> Build the specified pre-defined set of variations
  42. # of the libraries. Note, that which variants get
  43. # built depends on what each library supports.
  44. #
  45. # minimal (default) - Builds the single
  46. # "release" version of the libraries. This
  47. # release corresponds to specifying:
  48. # "release <threading>multi <link>shared
  49. # <link>static <runtime-link>shared" as the
  50. # Boost.Build variant to build.
  51. #
  52. # complete - Attempts to build all possible
  53. # variations.
  54. #
  55. # --build-dir=DIR Build in this location instead of building
  56. # within the distribution tree. Recommended!
  57. #
  58. # --show-libraries Displays the list of Boost libraries that require
  59. # build and installation steps, then exit.
  60. #
  61. # --layout=<layout> Determines whether to choose library names
  62. # and header locations such that multiple
  63. # versions of Boost or multiple compilers can
  64. # be used on the same system.
  65. #
  66. # versioned (default) - Names of boost
  67. # binaries include the Boost version
  68. # number and the name and version of the
  69. # compiler. Boost headers are installed
  70. # in a subdirectory of <HDRDIR> whose
  71. # name contains the Boost version
  72. # number.
  73. #
  74. # system - Binaries names do not include
  75. # the Boost version number or the name
  76. # and version number of the compiler.
  77. # Boost headers are installed directly
  78. # into <HDRDIR>. This option is
  79. # intended for system integrators who
  80. # are building distribution packages.
  81. #
  82. # --buildid=ID Adds the specified ID to the name of built
  83. # libraries. The default is to not add anything.
  84. #
  85. # --help This message.
  86. #
  87. # --with-<library> Build and install the specified <library>
  88. # If this option is used, only libraries
  89. # specified using this option will be built.
  90. #
  91. # --without-<library> Do not build, stage, or install the specified
  92. # <library>. By default, all libraries are built.
  93. #
  94. # Properties:
  95. #
  96. # toolset=toolset Indicates the toolset to build with.
  97. #
  98. # variant=debug|release Select the build variant
  99. #
  100. # link=static|shared Whether to build static or shared libraries
  101. #
  102. # threading=single|multi Whether to build single or multithreaded binaries
  103. #
  104. # runtime-link=static|shared
  105. # Whether to link to static or shared C and C++ runtime.
  106. #
  107. # TODO:
  108. # - handle boost version
  109. # - handle python options such as pydebug
  110. import generate ;
  111. import modules ;
  112. import set ;
  113. import stage ;
  114. import package ;
  115. import path ;
  116. import common ;
  117. import os ;
  118. import regex ;
  119. import errors ;
  120. import "class" : new ;
  121. import common ;
  122. import sequence ;
  123. import symlink ;
  124. import targets ;
  125. import project ;
  126. path-constant BOOST_ROOT : . ;
  127. constant BOOST_VERSION : 1.40.0 ;
  128. constant BOOST_JAMROOT_MODULE : $(__name__) ;
  129. local version-tag = [ MATCH "^([^.]+)[.]([^.]+)[.]([^.]+)" : $(BOOST_VERSION) ]
  130. ;
  131. if $(version-tag[3]) = 0
  132. {
  133. version-tag = $(version-tag[1-2]) ;
  134. }
  135. constant BOOST_VERSION_TAG : $(version-tag:J="_") ;
  136. # Option to choose how many variants to build. The default is "minimal".
  137. local build-type = [ MATCH "^--build-type=(.*)" : [ modules.peek : ARGV ] ] ;
  138. build-type ?= minimal ;
  139. if ! ( $(build-type) in minimal complete )
  140. {
  141. ECHO "The value of the --build-type option should be either 'complete' or 'minimal'" ;
  142. EXIT ;
  143. }
  144. rule handle-static-runtime ( properties * )
  145. {
  146. # Using static runtime with shared libraries is impossible on Linux,
  147. # and dangerous on Windows. Therefore, we disallow it. This might
  148. # be drastic, but it was disabled for a while with nobody complaining.
  149. # For CW, static runtime is needed so that std::locale works.
  150. if <link>shared in $(properties) && <runtime-link>static in $(properties) &&
  151. ! ( <toolset>cw in $(properties) )
  152. {
  153. ECHO "error: link=shared together with runtime-link=static is not allowed" ;
  154. ECHO "error: such property combination is either impossible " ;
  155. ECHO "error: or too dangerious to be of any use" ;
  156. EXIT ;
  157. }
  158. }
  159. project boost
  160. : requirements <include>.
  161. # Disable auto-linking for all targets here, primarily because it caused
  162. # troubles with V2.
  163. <define>BOOST_ALL_NO_LIB=1
  164. # Used to encode variant in target name. See the 'tag' rule below.
  165. <tag>@$(__name__).tag
  166. <conditional>@handle-static-runtime
  167. # The standard library Sun compilers use by default has no chance
  168. # of working with Boost. Override it.
  169. <toolset>sun:<stdlib>sun-stlport
  170. : usage-requirements <include>.
  171. : build-dir bin.v2
  172. ;
  173. # Setup convenient aliases for all libraries.
  174. all-libraries = [ MATCH .*libs/(.*)/build/.* : [ glob libs/*/build/Jamfile.v2 ]
  175. [ glob libs/*/build/Jamfile ] ]
  176. ;
  177. all-libraries = [ sequence.unique $(all-libraries) ] ;
  178. # The function_types library has a Jamfile, but it's used for maintenance
  179. # purposes, there's no library to build and install.
  180. all-libraries = [ set.difference $(all-libraries) : function_types ] ;
  181. local rule explicit-alias ( id : targets + )
  182. {
  183. alias $(id) : $(targets) ;
  184. explicit $(id) ;
  185. }
  186. # First, the complicated libraries: where the target name in Jamfile is
  187. # different from its directory name.
  188. explicit-alias prg_exec_monitor : libs/test/build//boost_prg_exec_monitor ;
  189. explicit-alias test_exec_monitor : libs/test/build//boost_test_exec_monitor ;
  190. explicit-alias unit_test_framework : libs/test/build//boost_unit_test_framework ;
  191. explicit-alias bgl-vis : libs/graps/build//bgl-vis ;
  192. explicit-alias serialization : libs/serialization/build//boost_serialization ;
  193. explicit-alias wserialization : libs/serialization/build//boost_wserialization ;
  194. for local l in $(all-libraries)
  195. {
  196. if ! $(l) in test graph serialization
  197. {
  198. explicit-alias $(l) : libs/$(l)/build//boost_$(l) ;
  199. }
  200. }
  201. alias headers : : : : <include>. ;
  202. # Decides which libraries are to be installed by looking at --with-<library>
  203. # --without-<library> arguments. Returns the list of directories under "libs"
  204. # which must be built and installed.
  205. #
  206. rule libraries-to-install ( existing-libraries * )
  207. {
  208. local argv = [ modules.peek : ARGV ] ;
  209. local with-parameter = [ MATCH --with-(.*) : $(argv) ] ;
  210. local without-parameter = [ MATCH --without-(.*) : $(argv) ] ;
  211. if ! $(with-parameter) && ! $(without-parameter)
  212. {
  213. # Nothing is specified on command line. See if maybe
  214. # project-config.jam has some choices.
  215. local project-config-libs = [ modules.peek project-config : libraries ] ;
  216. with-parameter = [ MATCH --with-(.*) : $(project-config-libs) ] ;
  217. without-parameter = [ MATCH --without-(.*) : $(project-config-libs) ] ;
  218. }
  219. # Do some checks.
  220. if $(with-parameter) && $(without-parameter)
  221. {
  222. ECHO "error: both --with-<library> and --without-<library> specified" ;
  223. EXIT ;
  224. }
  225. local wrong = [ set.difference $(with-parameter) : $(existing-libraries) ] ;
  226. if $(wrong)
  227. {
  228. ECHO "error: wrong library name '$(wrong[1])' in the --with-<library> option." ;
  229. EXIT ;
  230. }
  231. local wrong = [ set.difference $(without-parameter) : $(existing-libraries) ] ;
  232. if $(wrong)
  233. {
  234. ECHO "error: wrong library name '$(wrong[1])' in the --without-<library> option." ;
  235. EXIT ;
  236. }
  237. if $(with-parameter)
  238. {
  239. return [ set.intersection $(existing-libraries) : $(with-parameter) ] ;
  240. }
  241. else
  242. {
  243. return [ set.difference $(existing-libraries) : $(without-parameter) ] ;
  244. }
  245. }
  246. # What kind of layout are we doing?
  247. layout = [ MATCH "^--layout=(.*)" : [ modules.peek : ARGV ] ] ;
  248. layout ?= versioned ;
  249. layout-$(layout) = true ;
  250. # Possible stage only location.
  251. local stage-locate = [ MATCH "^--stagedir=(.*)" : [ modules.peek : ARGV ] ] ;
  252. stage-locate ?= stage ;
  253. path-constant BOOST_STAGE_LOCATE : $(stage-locate) ;
  254. # Python location.
  255. local python-root = [ MATCH "^--with-python-root=(.*)" : [ modules.peek : ARGV ]
  256. ] ;
  257. PYTHON_ROOT ?= $(python-root) ;
  258. # Select the libraries to install.
  259. libraries = [ libraries-to-install $(all-libraries) ] ;
  260. if --show-libraries in [ modules.peek : ARGV ]
  261. {
  262. ECHO "The following libraries require building:" ;
  263. for local l in $(libraries)
  264. {
  265. ECHO " - $(l)" ;
  266. }
  267. EXIT ;
  268. }
  269. # Custom build ID.
  270. local build-id = [ MATCH "^--buildid=(.*)" : [ modules.peek : ARGV ] ] ;
  271. if $(build-id)
  272. {
  273. constant BUILD_ID : [ regex.replace $(build-id) "[*\\/:.\"\' ]" "_" ] ;
  274. }
  275. # This rule is called by Boost.Build to determine the name of target. We use it
  276. # to encode the build variant, compiler name and boost version in the target
  277. # name.
  278. #
  279. rule tag ( name : type ? : property-set )
  280. {
  281. if $(type) in STATIC_LIB SHARED_LIB IMPORT_LIB
  282. {
  283. if $(layout) = versioned
  284. {
  285. local result = [ common.format-name
  286. <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
  287. -$(BUILD_ID)
  288. : $(name) : $(type) : $(property-set) ] ;
  289. # Optionally add version suffix. On NT, library with version suffix
  290. # will not be recognized by linkers. On CYGWIN, we get strage
  291. # duplicate symbol errors when library is generated with version
  292. # suffix. On OSX, version suffix is not needed -- the linker expects
  293. # the libFoo.1.2.3.dylib format. AIX linkers do not accept version
  294. # suffixes either. Pgi compilers can not accept library with version
  295. # suffix.
  296. if $(type) = SHARED_LIB &&
  297. ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix ) &&
  298. ! ( [ $(property-set).get <toolset> ] in pgi ) )
  299. {
  300. result = $(result).$(BOOST_VERSION) ;
  301. }
  302. return $(result) ;
  303. }
  304. else
  305. {
  306. local result = [ common.format-name
  307. <base>
  308. -$(BUILD_ID)
  309. : $(name) : $(type) : $(property-set) ] ;
  310. # Optionally add version suffix. On NT, library with version suffix
  311. # will not be recognized by linkers. On CYGWIN, we get strage
  312. # duplicate symbol errors when library is generated with version
  313. # suffix. On OSX, version suffix is not needed -- the linker expects
  314. # the libFoo.1.2.3.dylib format. AIX linkers do not accept version
  315. # suffixes either. Pgi compilers can not accept library with version
  316. # suffix.
  317. if $(type) = SHARED_LIB &&
  318. ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix ) &&
  319. ! ( [ $(property-set).get <toolset> ] in pgi ) )
  320. {
  321. result = $(result).$(BOOST_VERSION) ;
  322. }
  323. return $(result) ;
  324. }
  325. }
  326. }
  327. # Install to system location.
  328. install-requirements = <install-source-root>$(BOOST_ROOT)/boost ;
  329. if $(layout-versioned)
  330. {
  331. install-requirements += <install-header-subdir>boost-$(BOOST_VERSION_TAG)/boost ;
  332. }
  333. else
  334. {
  335. install-requirements += <install-header-subdir>boost ;
  336. }
  337. if [ modules.peek : NT ]
  338. {
  339. install-requirements += <install-default-prefix>C:/Boost ;
  340. }
  341. else if [ modules.peek : UNIX ]
  342. {
  343. install-requirements += <install-default-prefix>/usr/local ;
  344. }
  345. local headers =
  346. # The .SUNWCCh files are present in tr1 include directory and have to be installed,
  347. # see http://lists.boost.org/Archives/boost/2007/05/121430.php
  348. [ path.glob-tree $(BOOST_ROOT)/boost : *.hpp *.ipp *.h *.inc *.SUNWCCh : CVS .svn ]
  349. [ path.glob-tree $(BOOST_ROOT)/boost/compatibility/cpp_c_headers : c* : CVS .svn ]
  350. [ path.glob boost/tr1/tr1 : * : bcc32 sun CVS .svn ]
  351. ;
  352. # Complete install.
  353. package.install install-proper
  354. : $(install-requirements) <install-no-version-symlinks>on
  355. :
  356. : libs/$(libraries)/build
  357. : $(headers)
  358. ;
  359. explicit install-proper ;
  360. # Install just library.
  361. install stage-proper
  362. : libs/$(libraries)/build
  363. : <location>$(stage-locate)/lib
  364. <install-dependencies>on <install-type>LIB
  365. <install-no-version-symlinks>on
  366. ;
  367. explicit stage-proper ;
  368. if $(layout-versioned) && ( [ modules.peek : NT ] || [ modules.peek : UNIX ] )
  369. {
  370. rule make-unversioned-links ( project name ? : property-set : sources * )
  371. {
  372. local result ;
  373. local filtered ;
  374. local pattern ;
  375. local nt = [ modules.peek : NT ] ;
  376. # Collect the libraries that have the version number in 'filtered'.
  377. for local s in $(sources)
  378. {
  379. local m ;
  380. if $(nt)
  381. {
  382. m = [ MATCH "(.*[.]lib)" : [ $(s).name ] ] ;
  383. }
  384. else
  385. {
  386. m = [ MATCH "(.*[.]so[.0-9]+)" "(.*[.]dylib)" "(.*[.]a)" :
  387. [ $(s).name ] ] ;
  388. }
  389. if $(m)
  390. {
  391. filtered += $(s) ;
  392. }
  393. }
  394. # Create links without version.
  395. for local s in $(filtered)
  396. {
  397. local name = [ $(s).name ] ;
  398. local ea = [ $(s).action ] ;
  399. local ep = [ $(ea).properties ] ;
  400. local a = [ new non-scanning-action $(s) : symlink.ln : $(ep) ] ;
  401. local noversion-file ;
  402. if $(nt)
  403. {
  404. noversion-file = [ MATCH "(.*)-[0-9_]+(.*[.]lib)" : $(name) ] ;
  405. }
  406. else
  407. {
  408. noversion-file =
  409. [ MATCH "(.*)-[0-9_]+(.*[.]so)[.0-9]*" : $(name) ]
  410. [ MATCH "(.*)-[0-9_]+(.*[.]dylib)" : $(name) ]
  411. [ MATCH "(.*)-[0-9_]+(.*[.]a)" : $(name) ]
  412. [ MATCH "(.*)-[0-9_]+(.*[.]dll[.]a)" : $(name) ] ;
  413. }
  414. local new-name =
  415. $(noversion-file[1])$(noversion-file[2]) ;
  416. result += [ new file-target $(new-name) exact : [ $(s).type ] : $(project)
  417. : $(a) ] ;
  418. }
  419. return $(result) ;
  420. }
  421. generate stage-unversioned : stage-proper :
  422. <generating-rule>@make-unversioned-links ;
  423. explicit stage-unversioned ;
  424. generate install-unversioned : install-proper :
  425. <generating-rule>@make-unversioned-links ;
  426. explicit install-unversioned ;
  427. }
  428. else
  429. {
  430. # Create do-nothing aliases.
  431. alias stage-unversioned ;
  432. explicit stage-unversioned ;
  433. alias install-unversioned ;
  434. explicit install-unversioned ;
  435. }
  436. # This is a special metatarget class that handles the --build-type=complete
  437. # option.
  438. class top-level-target : alias-target-class
  439. {
  440. import modules ;
  441. import errors ;
  442. rule __init__ ( name : project : sources * : requirements *
  443. : default-build * : usage-requirements * )
  444. {
  445. alias-target-class.__init__ $(name) : $(project) : $(sources) :
  446. $(requirements) : $(default-build) : $(usage-requirements) ;
  447. local m = [ $(project).project-module ] ;
  448. self.build-type = [ modules.peek $(m) : build-type ] ;
  449. # On Linux, we build release variant by default, since few users will
  450. # ever want to debug C++ Boost libraries, and there's no ABI
  451. # incompatibility between debug and release variants. We build
  452. # shared and static libraries since that's what most packages
  453. # seem to provide (.so in libfoo and .a in libfoo-dev).
  454. self.minimal-properties = [ property-set.create
  455. <variant>release <threading>multi <link>shared <link>static <runtime-link>shared ] ;
  456. # On Windows, new IDE projects use:
  457. #
  458. # runtime-link=dynamic, threading=multi, variant=(debug|release)
  459. #
  460. # and in addition, C++ Boost's autolink defaults to static linking.
  461. self.minimal-properties-win = [ property-set.create
  462. <variant>debug <variant>release <threading>multi <link>static <runtime-link>shared ] ;
  463. self.complete-properties = [ property-set.create
  464. <variant>debug <variant>release
  465. <threading>single <threading>multi
  466. <link>shared <link>static
  467. <runtime-link>shared <runtime-link>static ] ;
  468. }
  469. rule generate ( property-set )
  470. {
  471. if $(self.build-type) = minimal
  472. {
  473. local expanded ;
  474. local os = [ $(property-set).get <target-os> ] ;
  475. # Because we completely override parent's 'generate'
  476. # we need to check for default value of feature ourself.
  477. if ! $(os)
  478. {
  479. os = [ feature.defaults <target-os> ] ;
  480. os = $(os:G=) ;
  481. }
  482. if $(os) = windows
  483. {
  484. expanded = [ targets.apply-default-build $(property-set)
  485. : $(self.minimal-properties-win) ] ;
  486. }
  487. else
  488. {
  489. expanded = [ targets.apply-default-build $(property-set)
  490. : $(self.minimal-properties) ] ;
  491. }
  492. return [ build-multiple $(expanded) ] ;
  493. }
  494. else if $(self.build-type) = complete
  495. {
  496. local expanded = [ targets.apply-default-build $(property-set)
  497. : $(self.complete-properties) ] ;
  498. # Filter inappopriate combinations
  499. local filtered ;
  500. for local p in $(expanded)
  501. {
  502. # See comment in handle-static-runtime regarding this logic.
  503. if [ $(p).get <link> ] = shared && [ $(p).get <runtime-link> ] = static
  504. && [ $(p).get <toolset> ] != cw
  505. {
  506. # Skip this
  507. }
  508. else
  509. {
  510. filtered += $(p) ;
  511. }
  512. }
  513. return [ build-multiple $(filtered) ] ;
  514. }
  515. else
  516. {
  517. errors.error "Unknown build type" ;
  518. }
  519. }
  520. rule build-multiple ( property-sets * )
  521. {
  522. local usage-requirements = [ property-set.empty ] ;
  523. local result ;
  524. for local p in $(property-sets)
  525. {
  526. local r = [ alias-target-class.generate $(p) ] ;
  527. if $(r)
  528. {
  529. usage-requirements = [ $(usage-requirements).add $(r[1]) ] ;
  530. result += $(r[2-]) ;
  531. }
  532. }
  533. return $(usage-requirements) [ sequence.unique $(result) ] ;
  534. }
  535. }
  536. targets.create-metatarget top-level-target : [ project.current ]
  537. : install
  538. : install-proper install-unversioned
  539. ;
  540. targets.create-metatarget top-level-target : [ project.current ]
  541. : stage
  542. : stage-proper stage-unversioned
  543. ;
  544. explicit install ;
  545. explicit stage ;
  546. stage-abs = [ path.native [ path.root $(stage-locate)/lib [ path.pwd ] ] ] ;
  547. # This target is built by default, and will forward to 'stage'
  548. # after producing some explanations.
  549. targets.create-metatarget top-level-target : [ project.current ]
  550. : forward
  551. : explain stage
  552. ;
  553. message explain :
  554. "\nBuilding C++ Boost.
  555. After the build, the headers will be located at
  556. $(BOOST_ROOT)
  557. The libraries will be located at
  558. $(stage-abs)
  559. Use 'bjam install --prefix=<path>' if you wish to install headers and
  560. libraries to a different location and remove the source tree.\n\n"
  561. ;
  562. # Just build the libraries, don't install them anywhere. This is what happens
  563. # with just "bjam --v2".
  564. alias build_all : libs/$(libraries)/build ;
  565. # This rule should be called from libraries' Jamfiles and will create two
  566. # targets, "install" and "stage", that will install or stage that library. The
  567. # --prefix option is respected, but --with and --without options, naturally, are
  568. # ignored.
  569. #
  570. # - libraries -- list of library targets to install.
  571. #
  572. rule boost-install ( libraries * )
  573. {
  574. package.install install
  575. : <dependency>/boost//install-proper-headers $(install-requirements)
  576. : # No binaries
  577. : $(libraries)
  578. : # No headers, it is handled by the dependency.
  579. ;
  580. install stage : $(libraries) : <location>$(BOOST_STAGE_LOCATE) ;
  581. local c = [ project.current ] ;
  582. local project-module = [ $(c).project-module ] ;
  583. module $(project-module)
  584. {
  585. explicit stage ;
  586. explicit install ;
  587. }
  588. }
  589. # Make project ids of all libraries known.
  590. for local l in $(all-libraries)
  591. {
  592. use-project /boost/$(l) : libs/$(l)/build ;
  593. }
粤ICP备19079148号