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

« back to all changes in this revision

Viewing changes to Source/cmBuildNameCommand.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: cmBuildNameCommand.h,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2005/10/24 19:43:52 $
7
 
  Version:   $Revision: 1.9.2.1 $
 
6
  Date:      $Date: 2006/03/10 18:06:25 $
 
7
  Version:   $Revision: 1.12 $
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.
11
11
 
12
 
     This software is distributed WITHOUT ANY WARRANTY; without even 
13
 
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
 
12
     This software is distributed WITHOUT ANY WARRANTY; without even
 
13
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
14
     PURPOSE.  See the above copyright notices for more information.
15
15
 
16
16
=========================================================================*/
22
22
/** \class cmBuildNameCommand
23
23
 * \brief BuildName a CMAKE variable
24
24
 *
25
 
 * cmBuildNameCommand sets a variable to a value with expansion.  
 
25
 * cmBuildNameCommand sets a variable to a value with expansion.
26
26
 */
27
27
class cmBuildNameCommand : public cmCommand
28
28
{
30
30
  /**
31
31
   * This is a virtual constructor for the command.
32
32
   */
33
 
  virtual cmCommand* Clone() 
 
33
  virtual cmCommand* Clone()
34
34
    {
35
35
    return new cmBuildNameCommand;
36
36
    }
42
42
  virtual bool InitialPass(std::vector<std::string> const& args);
43
43
 
44
44
  /**
 
45
   * This determines if the command is invoked when in script mode.
 
46
   */
 
47
  virtual bool IsScriptable() { return true; }
 
48
 
 
49
  /**
45
50
   * The name of the command as specified in CMakeList.txt.
46
51
   */
47
52
  virtual const char* GetName() {return "BUILD_NAME";}
48
 
  
 
53
 
49
54
  /**
50
55
   * Succinct documentation.
51
56
   */
52
 
  virtual const char* GetTerseDocumentation() 
 
57
  virtual const char* GetTerseDocumentation()
53
58
    {
54
 
    return "Deprecated.  Use ${CMAKE_SYSTEM} and ${CMAKE_CXX_COMPILER} instead.";
 
59
    return
 
60
      "Deprecated.  Use ${CMAKE_SYSTEM} and ${CMAKE_CXX_COMPILER} instead.";
55
61
    }
56
 
  
 
62
 
57
63
  /**
58
64
   * More documentation.
59
65
   */
65
71
      "and compiler settings.  These values are now available through the "
66
72
      "CMAKE_SYSTEM and CMAKE_CXX_COMPILER variables.";
67
73
    }
68
 
  
 
74
 
69
75
  cmTypeMacro(cmBuildNameCommand, cmCommand);
70
76
};
71
77