summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/string
Commit message (Collapse)AuthorAgeFilesLines
* Timestamp: support %A and %BBernhard M. Wiedemann2017-09-072-2/+2
| | | | | | | | These are defined both by [1] and [2] to give full names of a weekday and month. [1] http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html [2] https://msdn.microsoft.com/de-de/library/fe06s4ak.aspx
* Add PREPEND sub-command to string commandSylvain Joubert2017-08-115-0/+67
|
* cmStringCommand: clear intermediate matchesBen Boeckel2017-07-213-0/+33
| | | | | | | | | | | When `string(REGEX REPLACE)` or `string(REGEX MATCHALL)` loop internally, they store their matches, but they do not clear the previous match from an earlier iteration. This can leave the contents of `CMAKE_MATCH_<N>` with bogus values for later matches in the string if they have groups which earlier matched a non-empty string, but now match an empty string. Fixes #17079.
* string: Teach TIMESTAMP to treat %% as %Bernhard M. Wiedemann2017-01-272-2/+2
| | | | This encoding is documented by `strptime`.
* cmTimestamp: Support SOURCE_DATE_EPOCH to override current timeBernhard M. Wiedemann2017-01-2613-0/+25
| | | | | | See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.
* string: add APPEND subcommandDaniel Pfeifer2015-07-075-0/+67
|
* file: Teach STRINGS to support UTF-16 and UTF-32 encodingsJustin Borodinsky2015-01-2713-0/+29
|
* test: add a test for clearing regex resultsBen Boeckel2014-12-035-0/+116
|
* StringUuid: Implement new string(UUID) sub-command.Nils Gladitz2014-08-2820-0/+79
|
* string: Add CONCAT sub-commandBrad King2013-10-216-0/+32
Add a string(CONCAT) command to simply concatenate input arguments together. This will be useful for combining strings from different quoting syntaxes. Add a RunCMake.string test covering these cases.