~ubuntu-branches/ubuntu/jaunty/cmake/jaunty-security

« back to all changes in this revision

Viewing changes to Source/cmLocalVisualStudio6Generator.h

  • Committer: Bazaar Package Importer
  • Author(s): A. Maitland Bottoms
  • Date: 2006-06-18 16:34:11 UTC
  • mfrom: (1.4.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060618163411-pi234s3v6jwlcmof
Tags: 2.4.2-1
* New upstream release (Closes: #338324)
* Put cmake .vim files into /usr/share/vim/addons/plugin/
  where they can be used. (Closes: #366663)
* Install cmake-mode.el so it can be used. (Closes: #366664)
* Ensure cmake FindKDE locates KDE libraries on Debian
  based distributions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  Program:   CMake - Cross-Platform Makefile Generator
4
4
  Module:    $RCSfile: cmLocalVisualStudio6Generator.h,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2005/08/11 18:02:20 $
7
 
  Version:   $Revision: 1.8.2.1 $
 
6
  Date:      $Date: 2006/04/20 20:16:32 $
 
7
  Version:   $Revision: 1.13.2.1 $
8
8
 
9
9
  Copyright (c) 2002 Kitware, Inc., Insight Consortium.  All rights reserved.
10
10
  See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
29
29
 * \brief Write a LocalUnix makefiles.
30
30
 *
31
31
 * cmLocalVisualStudio6Generator produces a LocalUnix makefile from its
32
 
 * member m_Makefile.
 
32
 * member this->Makefile.
33
33
 */
34
34
class cmLocalVisualStudio6Generator : public cmLocalGenerator
35
35
{
59
59
   */
60
60
  std::vector<std::string> GetCreatedProjectNames() 
61
61
    {
62
 
    return m_CreatedProjectNames;
 
62
    return this->CreatedProjectNames;
63
63
    }
64
64
 
65
65
private:
66
 
  std::string m_DSPHeaderTemplate;
67
 
  std::string m_DSPFooterTemplate;
68
 
  std::vector<std::string> m_CreatedProjectNames;
 
66
  std::string DSPHeaderTemplate;
 
67
  std::string DSPFooterTemplate;
 
68
  std::vector<std::string> CreatedProjectNames;
69
69
  
70
70
  void CreateSingleDSP(const char *lname, cmTarget &tgt);
71
71
  void WriteDSPFile(std::ostream& fout, const char *libName, 
79
79
                      cmTarget &tgt, std::vector<cmSourceGroup> &sgs);
80
80
 
81
81
  void WriteDSPFooter(std::ostream& fout);
82
 
  void AddDSPBuildRule();
 
82
  void AddDSPBuildRule(cmTarget& tgt);
83
83
  void WriteCustomRule(std::ostream& fout,
84
84
                       const char* source,
85
85
                       const char* command,
86
86
                       const char* comment,
87
87
                       const std::vector<std::string>& depends,
88
 
                       const char* output,
 
88
                       const std::vector<std::string>& outputs,
89
89
                       const char* flags);
90
90
  void AddUtilityCommandHack(cmTarget& target, int count,
91
91
                             std::vector<std::string>& depends,
92
 
                             const cmCustomCommandLines& commandLines);
 
92
                             const cmCustomCommand& origCommand);
93
93
  void WriteGroup(const cmSourceGroup *sg, cmTarget target,
94
94
                  std::ostream &fout, const char *libName);
95
95
  std::string CreateTargetRules(cmTarget &target, 
96
96
                                const char *libName);
97
 
  std::string m_IncludeOptions;
98
 
  std::vector<std::string> m_Configurations;
 
97
  void ComputeLinkOptions(cmTarget& target, const char* configName,
 
98
                          const std::string extraOptions,
 
99
                          std::string& options);
 
100
  std::string IncludeOptions;
 
101
  std::vector<std::string> Configurations;
99
102
};
100
103
 
101
104
#endif