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.
This commit is contained in:
Brad King
2012-04-27 10:42:23 -04:00
parent c2ba6ba4fc
commit 4248132e59
2 changed files with 21 additions and 19 deletions
+1
View File
@@ -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();