summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-07-29 14:04:36 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-07-29 14:04:36 (GMT)
commitdf9577259ca5a30f5c79baee038fe42e25b4a1e5 (patch)
treee535fcee5353e59e2e1bd57a8bff809ed569dee9 /Source/cmLocalVisualStudio7Generator.h
parentb6fb213ed1431321fab0705beb3aae82f451dcc8 (diff)
downloadCMake-df9577259ca5a30f5c79baee038fe42e25b4a1e5.zip
CMake-df9577259ca5a30f5c79baee038fe42e25b4a1e5.tar.gz
CMake-df9577259ca5a30f5c79baee038fe42e25b4a1e5.tar.bz2
Add support for Visual Studio project-specific globals (#8707)
Thanks to Pau Garcia i Quiles for the inspiration for the patch. I've tweaked it a bit compared to what's in the bug tracker: this commit does not allow empty global variable names. I also added usage of the new feature to an existing test. Although it has no effect on the resulting Visual Studio projects, you can verify that the VSResource test produces a non-empty globals section in the generated .vcproj(x) files.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.h')
-rw-r--r--Source/cmLocalVisualStudio7Generator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.h b/Source/cmLocalVisualStudio7Generator.h
index 160e2d4..4fdbc58 100644
--- a/Source/cmLocalVisualStudio7Generator.h
+++ b/Source/cmLocalVisualStudio7Generator.h
@@ -84,7 +84,7 @@ private:
void WriteProjectFiles();
void WriteVCProjHeader(std::ostream& fout, const char *libName,
cmTarget &tgt, std::vector<cmSourceGroup> &sgs);
- void WriteVCProjFooter(std::ostream& fout);
+ void WriteVCProjFooter(std::ostream& fout, cmTarget &target);
void CreateSingleVCProj(const char *lname, cmTarget &tgt);
void WriteVCProjFile(std::ostream& fout, const char *libName,
cmTarget &tgt);