~ubuntu-branches/ubuntu/lucid/cmake/lucid

« back to all changes in this revision

Viewing changes to Source/cmGlobalVisualStudio8Generator.h

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2009-12-16 11:11:54 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091216111154-6accvv6yq86h2hkc
Tags: 2.8.0-5ubuntu1
* Merge from debian testing (LP: #497349). Remaining changes:
  - Keep the Replaces: on cmake-data to cover the Kubuntu version from
    Jaunty in case someone decides to do an (unsupported) Jaunty->Lucid
    upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*=========================================================================
2
 
 
3
 
  Program:   CMake - Cross-Platform Makefile Generator
4
 
  Module:    $RCSfile: cmGlobalVisualStudio8Generator.h,v $
5
 
  Language:  C++
6
 
  Date:      $Date: 2008-02-15 16:49:58 $
7
 
  Version:   $Revision: 1.13 $
8
 
 
9
 
  Copyright (c) 2002 Kitware, Inc., Insight Consortium.  All rights reserved.
10
 
  See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
11
 
 
12
 
     This software is distributed WITHOUT ANY WARRANTY; without even 
13
 
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14
 
     PURPOSE.  See the above copyright notices for more information.
15
 
 
16
 
=========================================================================*/
 
1
/*============================================================================
 
2
  CMake - Cross Platform Makefile Generator
 
3
  Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
 
4
 
 
5
  Distributed under the OSI-approved BSD License (the "License");
 
6
  see accompanying file Copyright.txt for details.
 
7
 
 
8
  This software is distributed WITHOUT ANY WARRANTY; without even the
 
9
  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
10
  See the License for more information.
 
11
============================================================================*/
17
12
#ifndef cmGlobalVisualStudio8Generator_h
18
13
#define cmGlobalVisualStudio8Generator_h
19
14
 
43
38
  ///! Create a local generator appropriate to this Global Generator
44
39
  virtual cmLocalGenerator *CreateLocalGenerator();
45
40
 
 
41
  std::string const& GetPlatformName() const { return this->PlatformName; }
 
42
 
46
43
  /**
47
44
   * Override Configure and Generate to add the build-system check
48
45
   * target.
63
60
   */
64
61
  virtual std::string GetUserMacrosRegKeyBase();
65
62
 
 
63
  /** Return true if the target project file should have the option
 
64
      LinkLibraryDependencies and link to .sln dependencies. */
 
65
  virtual bool NeedLinkLibraryDependencies(cmTarget& target);
 
66
 
66
67
protected:
 
68
  virtual const char* GetIDEVersion() { return "8.0"; }
67
69
 
68
70
  virtual bool VSLinksDependencies() const { return false; }
69
71
 
70
 
  static cmVS7FlagTable const* GetExtraFlagTableVS8();
 
72
  void AddCheckTarget();
 
73
 
 
74
  static cmIDEFlagTable const* GetExtraFlagTableVS8();
71
75
  virtual void AddPlatformDefinitions(cmMakefile* mf);
72
 
  virtual void WriteSLNFile(std::ostream& fout, cmLocalGenerator* root,
73
 
                            std::vector<cmLocalGenerator*>& generators);
74
76
  virtual void WriteSLNHeader(std::ostream& fout);
75
77
  virtual void WriteSolutionConfigurations(std::ostream& fout);
76
78
  virtual void WriteProjectConfigurations(std::ostream& fout,