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

Fix response file creation. They would not be recrated if exe already

exists.


[SVN r29402]
This commit is contained in:
Vladimir Prus
2005-06-03 12:55:27 +00:00
parent 44c5dff7eb
commit fe8557180c

View File

@@ -429,15 +429,17 @@ rule response-file ( targets + : sources * : the-response-file ? : properties *
# TODO: now 'the-response-file' is just ignored. Need to remove
# the argument altother and adjust callers.
# Create a target for response file. Not that we add 'rsp' to the target
# Create a target for response file. Note that we add 'rsp' to the target
# name (without stripping suffix), so that response file names for c.exe
# and c.obj are different.
local rsp = $(targets[1]).rsp ;
RSP on $(targets) = $(rsp) ;
LOCATE on $(rsp) = [ on $(targets[1]) return $(LOCATE) ] ;
DEPENDS $(targets) : $(rsp) ;
# Note: we don't need dependecy from response file on sources
# In theory, we don't need dependecy from response file on sources
# because response file only needs the names of the sources.
# In practice, bjam won't recreated TEMPORARY target without dependencies.
DEPENDS $(rsp) : $(sources) ;
TEMPORARY $(rsp) ;
# Add libraries from <library> property to the list of sources.