2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Some comments

[SVN r27982]
This commit is contained in:
Vladimir Prus
2005-04-05 13:37:44 +00:00
parent a3a1019a0c
commit 233ccf88ad
2 changed files with 7 additions and 1 deletions

View File

@@ -308,11 +308,13 @@ class boostbook-generator : generator
if $(manifest)
{
# Create DOCBOOK file from BOOSTBOOK sources.
local base-target = [ generators.construct $(project)
: DOCBOOK : $(property-set) : $(sources) ] ;
base-target = $(base-target[2]) ;
$(base-target).depends $(catalog) ;
# Generate HTML/PDF/PS from DOCBOOK.
local target = [ generators.construct $(project) $(manifest)
: $(type) : $(property-set) : $(base-target) ] ;
$(target[2]).set-path $(format) ;

View File

@@ -545,7 +545,11 @@ class linking-generator : generator
extra += <library-path>$(search) ;
}
}
# Hardcode dll paths only when linking executables.
# Pros: don't need to relinking libraries when installing.
# Cons: "standalone" libraries (plugins, python extensions)
# can't hardcode paths to dependent libraries.
if [ $(property-set).get <hardcode-dll-paths> ] = true
&& [ type.is-derived $(self.target-types[1]) EXE ]
{