summaryrefslogtreecommitdiffstats
path: root/Source/cmStringCommand.h
Commit message (Collapse)AuthorAgeFilesLines
* cmMakefile: store the number of last matches in a CMake varBen Boeckel2014-12-031-2/+0
| | | | | | | | | With PushScope and PopScope, keeping track of another bit of data for each scope isn't easy. Instead, store it as another CMake variable so it gets implicitly tracked along with everything else. This works in a revert of commit 7d674b5f0b28a610333644d417c2e8cb796cc9e4.
* Revert "ClearMatches: Only clear matches which were actually set" (#15261)Ben Boeckel2014-11-261-0/+2
| | | | | | | | | | | This reverts commit v3.1.0-rc1~557^2~2 (ClearMatches: Only clear matches which were actually set, 2014-03-12). The optimization did not track the match count in the same scope as the variables, allowing possible inconsistency. Resolve conflicts in Source/cmIfCommand.cxx, Source/cmMakefile.cxx, and Source/cmMakefile.h by moving the changes to the new location of the code involved.
* StringUuid: Implement new string(UUID) sub-command.Nils Gladitz2014-08-281-0/+1
|
* ClearMatches: Only clear matches which were actually setBen Boeckel2014-04-291-2/+0
| | | | | | | ClearMatches was clearing many variables which were never set in the first place. Instead, store how many matches were made last time and only clear those. It is moved to the cmMakefile class since it is a common utility used by multiple commands.
* Remove extra semicolons from C++ code.Stephen Kelly2014-04-031-1/+1
| | | | | Clang based tools running over the code complain about these, but clang has a fixit for removing them.
* cmStringCommand: Add GENEX_STRIP subcommand.Stephen Kelly2014-03-311-0/+1
| | | | Strip out any generator expressions in the input string.
* stringapi: Command namesBen Boeckel2014-03-081-1/+1
|
* string: Add CONCAT sub-commandBrad King2013-10-211-0/+1
| | | | | | 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.
* Drop builtin command documentationBrad King2013-10-161-130/+0
| | | | | Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
* string: Add MAKE_C_IDENTIFIER subcommandStephen Kelly2013-05-211-1/+5
|
* string: Fix regex documentation of '^' and '$' (#14028)Brad King2013-03-191-2/+2
| | | | | | They match at the beginning and end of the input, not by line. Reported-by: Martin Perzl <martin.perzl@web.de>
* Documentation: Clarify a few subtletiesPetr Kmoch2013-03-121-0/+7
| | | | | | | | | | | | | | * Clarify accepted values of <LANG> suffix in CMAKE_COMPILER_IS_GNU<LANG>. * Clarify fact that target property GENERATOR_FILE_NAME usually cannot be used at configure time. * Clarify that enable_language() can only be used in global scope of top-level project using language. * State that enable_language(... OPTIONAL) currently doesn't work. * Document regular expression operator precedence.
* CMake: Stylistic changes and documentation tweaksDavid Cole2012-12-051-2/+2
| | | | ...for the contributed file and string TIMESTAMP sub-commands.
* CMake: Add TIMESTAMP subcommand to string and file commandsNils Gladitz2012-12-051-1/+29
|
* string: Clarify regex documentation of '-' behaviorBrad King2012-10-081-1/+2
| | | | | | Mention that it is only special inside brackets. Show an example. Suggested-by: Alan W. Irwin
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-3/+3
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Add 'const' qualifier to some cmCommand membersYury G. Kudryashov2012-02-291-4/+4
| | | | | Use const_cast for the special case in cmFindBase where GetFullDocumentation calls GenerateDocumentation.
* Add string(MD5) and string(SHA*) commands to compute hashesBrad King2011-11-161-0/+5
| | | | | Provide a CMake-language binding to these cryptographic hashes. Add a string() command API for MD5, SHA1, SHA224, SHA256, SHA384, and SHA512.
* CMake: Update documentation of STRING(SUBSTRING) for length -1 (#10740)Rolf Eike Beer2011-05-271-1/+2
|
* Add a string(FIND) sub-command (#11795)Tim Hütz2011-02-151-0/+6
|
* Fix issue #9851 - only seed the random number generator on the first call to ↵David Cole2009-11-061-2/+3
| | | | STRING(RANDOM or if given the new RANDOM_SEED argument. Add test and documentation of new argument.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* STYLE: add line breaks to the documentation for CMAKE_MATCH_(0..9),Alexander Neundorf2009-03-131-3/+4
| | | | | | otherwise one might miss this information Alex
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* STYLE: Spelling fixes on documentationAmitha Perera2008-01-101-1/+1
|
* ENH: make commands lower case by defaultKen Martin2007-10-101-17/+17
|
* STYLE: add the | to the docsAlexander Neundorf2007-08-301-0/+1
| | | | Alex
* STYLE: add docs about the supported regexp characters and CMAKE_MATCH_(0..9)Alexander Neundorf2007-08-291-1/+14
| | | | Alex
* ENH: also store the group matches from IF( MATCHES) in CMAKE_MATCH_(0..9)Alexander Neundorf2007-08-291-2/+3
| | | | Alex
* COMP: header was missing...Alexander Neundorf2007-08-211-1/+8
| | | | Alex
* STYLE: fix documentation for STRING(REPLACE) #5536Alexander Neundorf2007-08-211-8/+4
| | | | Alex
* ENH: Add STRING STRIP commandAndy Cedilnik2007-04-271-0/+4
|
* STYLE: Fixed line-too-long.Brad King2007-04-251-1/+2
|
* ENH: Add command to generate random stringsKen Martin2007-04-231-1/+7
|
* ENH: fix line length style stuffBill Hoffman2006-03-101-1/+2
|
* ENH: add support for watcom wmake and wcl386Bill Hoffman2006-01-171-0/+1
|
* BUG: end is not really end, but rather lengthBill Hoffman2005-10-201-1/+1
|
* ENH: Add String length and substringAndy Cedilnik2005-10-171-1/+7
|
* ENH: Add regular string replace (not regex), and relative path command. Also ↵Andy Cedilnik2005-10-171-0/+10
| | | | add tests
* ENH: big change that includes immediate subdir support, removing the notion ↵Ken Martin2005-03-181-6/+0
| | | | of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
* ENH: Documented use of \1 syntax in replace expression.Brad King2004-05-031-1/+4
|
* ENH: Added STRING(CONFIGURE ...) command.Brad King2004-03-041-0/+5
|
* ENH: Make more commands scriptableAndy Cedilnik2004-02-061-0/+5
|
* removed redundent includesKen Martin2003-08-101-1/+0
|
* ENH: Add upper and lower case support. Close Bug #79 - STRING TOUPPER and ↵Andy Cedilnik2003-07-101-1/+5
| | | | TOLOWER
* BUG: Removed extra newlines from help text.Brad King2003-07-081-4/+4
|
* BUG: Command should be inherited.Brad King2003-03-191-0/+6
|
* ENH: Cleaned up documentation and formatted it for use by cmDocumentation.Brad King2003-02-141-15/+22
|
* Add a way to convert ascii to stringAndy Cedilnik2003-01-011-1/+4
|
* ENH: Added COMPARE modes to STRING command.Brad King2002-12-041-1/+7
|