mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
Fix improper name of PDB and manifest targets.
[SVN r55334]
This commit is contained in:
@@ -1031,11 +1031,13 @@ class msvc-linking-generator : linking-generator
|
||||
|
||||
if $(result)
|
||||
{
|
||||
local name = [ $(result[0]).name ] ;
|
||||
local name-main = [ $(result[0]).name ] ;
|
||||
local action = [ $(result[0]).action ] ;
|
||||
|
||||
if [ $(property-set).get <debug-symbols> ] = "on"
|
||||
{
|
||||
{
|
||||
# PDB is 'good' target -- the basename is the same of for main target, with
|
||||
# .pdb as extension
|
||||
local target = [ class.new file-target $(name) : PDB : $(project) : $(action) ] ;
|
||||
local registered-target = [ virtual-target.register $(target) ] ;
|
||||
if $(target) != $(registered-target)
|
||||
@@ -1047,7 +1049,10 @@ class msvc-linking-generator : linking-generator
|
||||
|
||||
if [ $(property-set).get <embed-manifest> ] = "off"
|
||||
{
|
||||
local target = [ class.new file-target $(name) : MANIFEST : $(project) : $(action) ] ;
|
||||
# Manifest is evil target. It has .manifest appened to the name of
|
||||
# main target, including extension. E.g. a.exe.manifest. We use 'exact'
|
||||
# name because to achieve this effect.
|
||||
local target = [ class.new file-target $(name-main).manifest exact : MANIFEST : $(project) : $(action) ] ;
|
||||
local registered-target = [ virtual-target.register $(target) ] ;
|
||||
if $(target) != $(registered-target)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user