diff options
author | Brad King <brad.king@kitware.com> | 2017-04-10 15:37:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-13 20:10:32 (GMT) |
commit | 97cc29c7662f51f0e532f92e37070f9b44791b88 (patch) | |
tree | 7d048531d0208743c4acf9b36f6046547f73b0c7 /Source/cmLocalVisualStudio7Generator.h | |
parent | 2f6f6f0c153f19f7efab96b2a4c3c9c05362372b (diff) | |
download | CMake-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/cmLocalVisualStudio7Generator.h')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.h b/Source/cmLocalVisualStudio7Generator.h index 2bf38ea..89a3ee3 100644 --- a/Source/cmLocalVisualStudio7Generator.h +++ b/Source/cmLocalVisualStudio7Generator.h @@ -119,7 +119,8 @@ private: bool WriteGroup(const cmSourceGroup* sg, cmGeneratorTarget* target, std::ostream& fout, const std::string& libName, - std::vector<std::string> const& configs); + std::vector<std::string> const& configs, + std::map<cmSourceFile const*, size_t> const& sourcesIndex); friend class cmLocalVisualStudio7GeneratorFCInfo; friend class cmLocalVisualStudio7GeneratorInternals; |