diff options
author | Brad King <brad.king@kitware.com> | 2016-09-13 12:37:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-13 15:52:28 (GMT) |
commit | 07f69bd5cc9b6b4bc040327f315620c736ec15ba (patch) | |
tree | 4b4346c4d3a0bdff2aada3e465c6155ad3dacbee /Tests/CMakeLib | |
parent | f76bcee9a6a95b566e36b533a5fa45b496eb456b (diff) | |
download | CMake-07f69bd5cc9b6b4bc040327f315620c736ec15ba.zip CMake-07f69bd5cc9b6b4bc040327f315620c736ec15ba.tar.gz CMake-07f69bd5cc9b6b4bc040327f315620c736ec15ba.tar.bz2 |
cmSystemTools: Add strverscmp
Add support for natural string order by comparing non-numerical
character directly and numerical number by firstly collecting contiguous
digits. The order is defined by the `strverscmp(3)` manual [1].
[1] http://man7.org/linux/man-pages/man3/strverscmp.3.html
Inspired-by: Pierluigi Taddei <pierluigi.taddei@gmail.com>
Diffstat (limited to 'Tests/CMakeLib')
0 files changed, 0 insertions, 0 deletions