diff options
author | Brad King <brad.king@kitware.com> | 2006-02-03 16:36:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-02-03 16:36:11 (GMT) |
commit | afa83678854b7af547c9f0033ac5f7446a163447 (patch) | |
tree | 6696c212b3243e536816708262b800ed188e5d22 /Source/cmGlobalXCodeGenerator.cxx | |
parent | 0f5aced5029203a7a833e81f2f36dafcd3c56d99 (diff) | |
download | CMake-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/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 0879224..51c5687 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2284,3 +2284,18 @@ std::string cmGlobalXCodeGenerator::XCodeEscapePath(const char* p) } return ret; } + +//---------------------------------------------------------------------------- +void +cmGlobalXCodeGenerator +::AppendDirectoryForConfig(const char* config, std::string& dir) +{ + if(m_XcodeVersion > 20) + { + if(config) + { + dir += "/"; + dir += config; + } + } +} |