summaryrefslogtreecommitdiff
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-03 10:34:10 -0400
committerBrad King <brad.king@kitware.com>2009-07-03 10:34:10 -0400
commitbde145a212fb9f29c7cf7e37198e2783f7db3fbd (patch)
tree5e6266a219e0a1c9716f8e979ab078fff8ff6d6a /Source/cmMakefileTargetGenerator.cxx
parent275c21d3518a80aefa493131052c20e83676bc4a (diff)
downloadcmake-bde145a212fb9f29c7cf7e37198e2783f7db3fbd.tar.gz
ENH: Pass config to cmTarget::GetDirectory()
This teaches the makefile generators to always pass the configuration name to the cmTarget::GetDirectory method. Later this will allow per-configuration target output directories, and it cleans up use of the current API.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 81fa4a1c79..e4dac5fd6c 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -608,7 +608,7 @@ cmMakefileTargetGenerator
this->Target->GetType() == cmTarget::SHARED_LIBRARY ||
this->Target->GetType() == cmTarget::MODULE_LIBRARY)
{
- targetFullPathPDB = this->Target->GetDirectory();
+ targetFullPathPDB = this->Target->GetDirectory(this->ConfigName);
targetFullPathPDB += "/";
targetFullPathPDB += this->Target->GetPDBName(this->ConfigName);
}