summaryrefslogtreecommitdiffstats
path: root/Tests/StringFileTest
Commit message (Collapse)AuthorAgeFilesLines
* allow STRING(SUBSTRING) work with length -1 as "rest of the string"Rolf Eike Beer2010-12-081-0/+24
| | | | This fixes the first half of bug 10740.
* Add a test for FILE(READ ... HEX) together with a tiny binary file.Alexander Neundorf2009-09-062-0/+9
| | | | Alex
* BUG: file(COPY) test should not make read-only dirBrad King2009-05-131-2/+2
| | | | | | | CMake directory removal code cannot remove content from read-only directories (a separate bug which will be fixed). Therefore we should not create them in the StringFileTest. This tweaks the file(COPY) call to test not giving OWNER_WRITE to files rather than directories.
* ENH: Create file(COPY) command signatureBrad King2009-04-291-1/+10
| | | | | | | | The file(INSTALL) command has long been undocumented and used only to implement install() scripts. We now document it and provide a similar file(COPY) signature which is useful in general-purpose scripts. It provides the capabilities of install(DIRECTORY) and install(FILES) but operates immediately instead of contributing to install scripts.
* ENH: Create file(RENAME) command modeBrad King2009-04-151-1/+3
| | | | | This creates command "file(RENAME <oldname> <newname>)" to rename a file or directory within a single disk volume.
* ENH: New foreach(<var> IN ...) modeBrad King2009-03-171-0/+19
| | | | | | | | This creates a new mode of the foreach command which allows precise iteration even over empty elements. This mode may be safely extended with more keyword arguments in the future. The cost now is possibly breaking scripts that iterate over a list of items beginning with 'IN', but there is no other way to extend the syntax in a readable way.
* ENH: Allow most characters in ENV variable refsBrad King2008-12-171-0/+7
| | | | | | The $ENV{VAR} syntax permits access to environment variables. This teaches CMake to recognize most characters in the VAR name since some environments may have variables with non-C-identifier characters.
* ENH: preclean some warningsKen Martin2008-03-251-1/+2
|
* ENH: Add test for FILE(READ ...HEX).Brad King2008-01-021-0/+7
|
* ENH: added tests for the CMAKE_MATCH_(0..9) variables, which get set byAlexander Neundorf2007-08-291-0/+33
| | | | | | regex matches (STRING(REGEX), IF(MATCHES)) Alex
* BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This ↵Brad King2007-06-062-0/+6
| | | | fixes the original fix to bug#4393 and adds a test.
* ENH: make the compiler id detection work, even if the output file name ofAlexander Neundorf2007-05-253-0/+64
| | | | | | | the compiler is completely unknown and even if it produces intel hex or motorola s-record files, with test Alex
* ENH: Add STRING STRIP commandAndy Cedilnik2007-04-271-0/+14
|
* ENH: Added FILE(STRINGS) command.Brad King2007-04-251-0/+12
|
* ENH: Remove old IF(FILE_IS_NEWER) syntax. It was never in a release anyway.Brad King2006-10-231-3/+0
|
* ENH: Patch from Alex to provide nicer syntax for FILE_IS_NEWER. Using name ↵Brad King2006-10-231-0/+3
| | | | IS_NEWER_THAN so old syntax will continue to work.
* BUG: Character + should be valid in a variable name.Brad King2006-09-251-1/+2
|
* ENH: Patch from Alex for adding IF(FILE_IS_NEWER). I also added a test.Brad King2006-08-251-0/+5
|
* ENH: Add relative tag and add test for relative tagAndy Cedilnik2006-03-211-1/+4
|
* ENH: Add String length and substringAndy Cedilnik2005-10-172-0/+9
|
* ENH: Add regular string replace (not regex), and relative path command. Also ↵Andy Cedilnik2005-10-172-0/+7
| | | | add tests
* BUG#1179: Fix for syntax in unquoted arguments.Brad King2004-09-201-0/+8
|
* ENH: Add RANGE support to FOREACHAndy Cedilnik2004-04-291-0/+19
|
* ENH: Added STRING(CONFIGURE ...) command.Brad King2004-03-042-0/+18
|
* ENH: Added CommandLineTest to add coverage for command line arguments to ↵Brad King2003-07-241-10/+0
| | | | cmake executables. This replaces the old DumpDocumentation test.
* ENH: More coverageAndy Cedilnik2003-07-231-0/+4
|
* ENH: Added more verbose output of what globbing results.Brad King2003-07-231-4/+7
|
* ENH: More coverageAndy Cedilnik2003-07-221-1/+4
|
* ENH: Increase coverageAndy Cedilnik2003-07-221-0/+3
|
* ENH: fix glob on windows and add glob recurse testAndy Cedilnik2003-07-211-0/+2
|
* ENH: add more coverage testsAndy Cedilnik2003-07-211-2/+21
|
* ENH: Add additional new line after the string to match the change in file ↵Andy Cedilnik2003-07-171-1/+1
| | | | command
* ENH: Add missing includeAndy Cedilnik2003-07-101-0/+1
|
* ENH: Add test for string and file commandsAndy Cedilnik2003-07-103-0/+91