summaryrefslogtreecommitdiffstats
path: root/Source/cmWriteFileCommand.h
blob: 0d06878c0327df228d77e0641b8cf1380bb20ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*============================================================================
  CMake - Cross Platform Makefile Generator
  Copyright 2000-2009 Kitware, Inc., Insight Software Consortium

  Distributed under the OSI-approved BSD License (the "License");
  see accompanying file Copyright.txt for details.

  This software is distributed WITHOUT ANY WARRANTY; without even the
  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the License for more information.
============================================================================*/
#ifndef cmWriteFileCommand_h
#define cmWriteFileCommand_h

#include "cmCommand.h"

/** \class cmWriteFileCommand
 * \brief Writes a message to a file
 *
 */
class cmWriteFileCommand : public cmCommand
{
public:
  /**
   * This is a virtual constructor for the command.
   */
  virtual cmCommand* Clone()
    {
    return new cmWriteFileCommand;
    }

  /**
   * This is called when the command is first encountered in
   * the CMakeLists.txt file.
   */
  virtual bool InitialPass(std::vector<std::string> const& args,
                           cmExecutionStatus &status);

  /**
   * This determines if the command is invoked when in script mode.
   */
  virtual bool IsScriptable() const { return true; }

  /**
   * The name of the command as specified in CMakeList.txt.
   */
  virtual std::string GetName() const { return "write_file";}

  /** This command is kept for compatibility with older CMake versions. */
  virtual bool IsDiscouraged() const
    {
    return true;
    }

  cmTypeMacro(cmWriteFileCommand, cmCommand);
};


#endif
14-01-28 00:29:45 (GMT)'>2014-01-282-0/+25 * | asyncio: remove temporary aliasesVictor Stinner2014-01-271-6/+0 * | inspect.signature: Add support for 'functools.partialmethod' #20223Yury Selivanov2014-01-273-40/+95 * | Issue #19456: ntpath.join() now joins relative paths correctly when a driveSerhiy Storchaka2014-01-272-109/+66 |\ \ | |/ | * Issue #19456: ntpath.join() now joins relative paths correctly when a driveSerhiy Storchaka2014-01-272-108/+65 * | inspect.signature: Use '/' to separate positional-only parameters fromYury Selivanov2014-01-272-39/+54 * | inspect.getfile: Don't crash on classes without '__module__' attribute #20372Yury Selivanov2014-01-272-3/+14 * | Remove redundant emty line at the end of file.Serhiy Storchaka2014-01-271-1/+0 * | Issue #19077: tempfile.TemporaryDirectory cleanup no longer fails whenSerhiy Storchaka2014-01-272-109/+69 |\ \ | |/ | * Issue #19077: tempfile.TemporaryDirectory cleanup is now most likelySerhiy Storchaka2014-01-272-96/+83 | * Issue #20367: Fix behavior of concurrent.futures.as_completed() for duplicateVictor Stinner2014-01-272-2/+11 * | Merge.Larry Hastings2014-01-2724-47/+249 |\ \ | * \ Issue #17721: Remove non-functional configuration dialog help button until weTerry Jan Reedy2014-01-271-4/+5 | |\ \ | | |/ | | * Issue #17721: Remove non-functional configuration dialog help button until weTerry Jan Reedy2014-01-271-4/+5 | * | Merge with 3.3Terry Jan Reedy2014-01-271-0/+10 | |\ \ | | |/ | | * Idlelib.calltips: add test of starred first parameters. They should not beTerry Jan Reedy2014-01-271-0/+10 | * | White space and merge cleanup.Terry Jan Reedy2014-01-271-4/+0 | * | Merge with 3.3Terry Jan Reedy2014-01-271-0/+4 | |\ \ | | |/ | | * Merge heads.Terry Jan Reedy2014-01-272-14/+33 | | |\ | * | \ Merge heads.Terry Jan Reedy2014-01-272-23/+40 | |\ \ \ | | * \ \ Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.Terry Jan Reedy2014-01-272-14/+35 | | |\ \ \ | | | | |/ | | | |/| | | | * | Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.Terry Jan Reedy2014-01-272-14/+33 | * | | | Update docstring to mention correct PEP number.Eli Bendersky2014-01-261-1/+1 | * | | | Issue #19990: Added tests for the imghdr module.Serhiy Storchaka2014-01-2613-1/+141 | |\ \ \ \ | | | |_|/ | | |/| | | | * | | Issue #19990: Added tests for the imghdr module.Serhiy Storchaka2014-01-26