summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-19 15:25:21 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-19 21:13:41 (GMT)
commit328c0f65c2a273c6adcdb11f96ee057d80014de2 (patch)
treef96b61b78fe9e94331ebba7c5433fabdbcff9244 /Source/cmVisualStudio10TargetGenerator.h
parent93d5509b5b1c208f3ed28daf35f9384ab6918441 (diff)
downloadCMake-328c0f65c2a273c6adcdb11f96ee057d80014de2.zip
CMake-328c0f65c2a273c6adcdb11f96ee057d80014de2.tar.gz
CMake-328c0f65c2a273c6adcdb11f96ee057d80014de2.tar.bz2
Simplify cmVisualStudio10TargetGenerator source classification
Combine WriteCLSources and WriteObjSources into a single method. Use the cmGeneratorTarget source classification to simplify tool selection for each source file. Extend the classification to handle .idl files.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h
index 64fb124..20a443b 100644
--- a/Source/cmVisualStudio10TargetGenerator.h
+++ b/Source/cmVisualStudio10TargetGenerator.h
@@ -47,10 +47,11 @@ private:
void WriteString(const char* line, int indentLevel);
void WriteProjectConfigurations();
void WriteProjectConfigurationValues();
- void WriteCLSources();
+ void WriteSource(const char* tool, cmSourceFile* sf, bool end = true);
+ void WriteSources(const char* tool, std::vector<cmSourceFile*> const&);
+ void WriteAllSources();
void WriteDotNetReferences();
void WriteWinRTReferences();
- void WriteObjSources();
void WritePathAndIncrementalLinkOptions();
void WriteItemDefinitionGroups();
bool ComputeClOptions();