summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-03 16:36:11 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-03 16:36:11 (GMT)
commitafa83678854b7af547c9f0033ac5f7446a163447 (patch)
tree6696c212b3243e536816708262b800ed188e5d22 /Source/cmGlobalVisualStudio7Generator.cxx
parent0f5aced5029203a7a833e81f2f36dafcd3c56d99 (diff)
downloadCMake-afa83678854b7af547c9f0033ac5f7446a163447.zip
CMake-afa83678854b7af547c9f0033ac5f7446a163447.tar.gz
CMake-afa83678854b7af547c9f0033ac5f7446a163447.tar.bz2
BUG: Fixed cmTarget::GetFullPath to not append the configuration name when only one configuration is built. It now asks the generator what subdirectory if any to use for a given configuration name.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index a5d5735..5e3eb3b 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -718,3 +718,15 @@ void cmGlobalVisualStudio7Generator::Configure()
this->CreateGUID("INSTALL");
this->CreateGUID("RUN_TESTS");
}
+
+//----------------------------------------------------------------------------
+void
+cmGlobalVisualStudio7Generator
+::AppendDirectoryForConfig(const char* config, std::string& dir)
+{
+ if(config)
+ {
+ dir += "/";
+ dir += config;
+ }
+}