Jamroot 22 KB

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