diff options
author | Brad King <brad.king@kitware.com> | 2012-04-27 10:42:23 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-04-27 11:53:40 -0400 |
commit | 4248132e59a8401a96d9c20ef155d80e439e7346 (patch) | |
tree | 50d91ee01d0fa69753c7b424dcb6a65bfdd7a97c /Source/cmVisualStudio10TargetGenerator.h | |
parent | c2ba6ba4fc0d807f36a6a9fcb1c166b776750dae (diff) | |
download | cmake-4248132e59a8401a96d9c20ef155d80e439e7346.tar.gz |
VS10: Convert paths normally unless forced to relative
Most CMake generators produce relative paths within the build tree and
full paths to files outside the build tree. Make VS 10 and VS 11
project files consistent with this approach except for paths forced to
be relative to work around a VS 10 bug.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h index c00d328a6f..2d5ec2a6bd 100644 --- a/Source/cmVisualStudio10TargetGenerator.h +++ b/Source/cmVisualStudio10TargetGenerator.h @@ -50,6 +50,7 @@ private: }; struct ToolSources: public std::vector<ToolSource> {}; + std::string ConvertPath(std::string const& path, bool forceRelative); void ConvertToWindowsSlash(std::string& s); void WriteString(const char* line, int indentLevel); void WriteProjectConfigurations(); |