~ubuntu-branches/ubuntu/utopic/cmake/utopic

« back to all changes in this revision

Viewing changes to Source/cmStringCommand.h

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2013-10-10 12:54:39 UTC
  • mfrom: (1.14.7)
  • Revision ID: package-import@ubuntu.com-20131010125439-h0ahaj004on6oj92
Tags: 2.8.12-0ubuntu1
New upstream release LP: #1246701

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
      "         [RANDOM_SEED <seed>] <output variable>)\n"
95
95
      "  string(FIND <string> <substring> <output variable> [REVERSE])\n"
96
96
      "  string(TIMESTAMP <output variable> [<format string>] [UTC])\n"
 
97
      "  string(MAKE_C_IDENTIFIER <input string> <output variable>)\n"
97
98
      "REGEX MATCH will match the regular expression once and store the "
98
99
      "match in the output variable.\n"
99
100
      "REGEX MATCHALL will match the regular expression as many times as "
176
177
      "and copied to the output as-is.\n"
177
178
      "If no explicit <format string> is given it will default to:\n"
178
179
      "   %Y-%m-%dT%H:%M:%S    for local time.\n"
179
 
      "   %Y-%m-%dT%H:%M:%SZ   for UTC.";
 
180
      "   %Y-%m-%dT%H:%M:%SZ   for UTC.\n"
 
181
      "MAKE_C_IDENTIFIER will write a string which can be used as an "
 
182
      "identifier in C.";
180
183
    }
181
184
 
182
185
  cmTypeMacro(cmStringCommand, cmCommand);
200
203
  bool HandleRandomCommand(std::vector<std::string> const& args);
201
204
  bool HandleFindCommand(std::vector<std::string> const& args);
202
205
  bool HandleTimestampCommand(std::vector<std::string> const& args);
 
206
  bool HandleMakeCIdentifierCommand(std::vector<std::string> const& args);
203
207
 
204
208
  class RegexReplacement
205
209
  {