summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-04-27 14:42:23 (GMT)
committerBrad King <brad.king@kitware.com>2012-04-27 15:53:40 (GMT)
commit4248132e59a8401a96d9c20ef155d80e439e7346 (patch)
tree50d91ee01d0fa69753c7b424dcb6a65bfdd7a97c /Source/cmVisualStudio10TargetGenerator.h
parentc2ba6ba4fc0d807f36a6a9fcb1c166b776750dae (diff)
downloadCMake-4248132e59a8401a96d9c20ef155d80e439e7346.zip
CMake-4248132e59a8401a96d9c20ef155d80e439e7346.tar.gz
CMake-4248132e59a8401a96d9c20ef155d80e439e7346.tar.bz2
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h
index c00d328..2d5ec2a 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();