summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-04-27 12:34:49 (GMT)
committerBrad King <brad.king@kitware.com>2012-04-27 13:15:03 (GMT)
commit4f2d9d2da56b13b5780387492a400baa03d5bf70 (patch)
tree45975504955da28e2b3baedeff37f5651db17dfc /Source/cmVisualStudio10TargetGenerator.h
parenta7d0fb1470cc7c900abfff14a87039d353a8c2b3 (diff)
downloadCMake-4f2d9d2da56b13b5780387492a400baa03d5bf70.zip
CMake-4f2d9d2da56b13b5780387492a400baa03d5bf70.tar.gz
CMake-4f2d9d2da56b13b5780387492a400baa03d5bf70.tar.bz2
VS10: Refactor custom commands to use WriteSource
All other source file elements are already written through WriteSource. Refactor custom command source element generation into WriteSource too.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h
index 20a443b..1e0f9c1 100644
--- a/Source/cmVisualStudio10TargetGenerator.h
+++ b/Source/cmVisualStudio10TargetGenerator.h
@@ -47,7 +47,7 @@ private:
void WriteString(const char* line, int indentLevel);
void WriteProjectConfigurations();
void WriteProjectConfigurationValues();
- void WriteSource(const char* tool, cmSourceFile* sf, bool end = true);
+ void WriteSource(const char* tool, cmSourceFile* sf, const char* end = 0);
void WriteSources(const char* tool, std::vector<cmSourceFile*> const&);
void WriteAllSources();
void WriteDotNetReferences();