summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-10 15:37:49 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-13 20:10:32 (GMT)
commit97cc29c7662f51f0e532f92e37070f9b44791b88 (patch)
tree7d048531d0208743c4acf9b36f6046547f73b0c7 /Source/cmVisualStudio10TargetGenerator.h
parent2f6f6f0c153f19f7efab96b2a4c3c9c05362372b (diff)
downloadCMake-97cc29c7662f51f0e532f92e37070f9b44791b88.zip
CMake-97cc29c7662f51f0e532f92e37070f9b44791b88.tar.gz
CMake-97cc29c7662f51f0e532f92e37070f9b44791b88.tar.bz2
VS: Teach generators how to mark per-config source files
Add internal infrastructure for looping over all sources for all configurations and generating each source with exclusion marks for configurations in which they do not participate. This does not yet make per-config sources available in general but does set up some of the needed infrastructure. Unfortunately doing this cleanly will require major refactoring of both the VS 7-9 generators and the VS 10+ generators (for separate reasons). Instead add some extra internal structures to carry information where we need it.
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 7432244..bd270bf 100644
--- a/Source/cmVisualStudio10TargetGenerator.h
+++ b/Source/cmVisualStudio10TargetGenerator.h
@@ -62,6 +62,7 @@ private:
void WriteNsightTegraConfigurationValues(std::string const& config);
void WriteSource(std::string const& tool, cmSourceFile const* sf,
const char* end = 0);
+ void WriteExcludeFromBuild(std::vector<size_t> const& exclude_configs);
void WriteAllSources();
void WriteDotNetReferences();
void WriteDotNetReference(std::string const& ref, std::string const& hint);