diff options
author | Brad King <brad.king@kitware.com> | 2009-07-03 14:34:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-03 14:34:10 (GMT) |
commit | bde145a212fb9f29c7cf7e37198e2783f7db3fbd (patch) | |
tree | 5e6266a219e0a1c9716f8e979ab078fff8ff6d6a /Source/cmMakefileTargetGenerator.cxx | |
parent | 275c21d3518a80aefa493131052c20e83676bc4a (diff) | |
download | CMake-bde145a212fb9f29c7cf7e37198e2783f7db3fbd.zip CMake-bde145a212fb9f29c7cf7e37198e2783f7db3fbd.tar.gz CMake-bde145a212fb9f29c7cf7e37198e2783f7db3fbd.tar.bz2 |
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.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 81fa4a1..e4dac5f 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); } |