Ashley Whetter
0205f882ae
list: Add FILTER subcommand ( #3986 )
...
Create a `list(FILTER)` command to filter lists by regular expression.
2016-02-03 11:13:17 -05:00
Ben Boeckel
85fc9f26a7
stringapi: Command names
2014-03-08 13:05:39 -05:00
Ben Boeckel
3742bb0d32
stringapi: Use strings for variable names
...
Variable names are always generated by CMake and should never be NULL.
2014-03-08 13:05:28 -05:00
Brad King
e33d8d2d77
Drop builtin command documentation
...
Drop all GetTerseDocumentation and GetFullDocumentation methods from
commands. The command documentation is now in Help/command/*.rst files.
2013-10-16 09:22:36 -04:00
Роман Донченко
eec7834ed8
list: Fix docs for APPEND to show that elements are optional
...
list(APPEND) has been able to append nothing since commit a06dcdba
(Allow LIST(APPEND) command to append nothing, 2008-01-16) but the
documentation still used to imply that at least one argument is
required.
2013-10-14 11:16:59 -04:00
Yury G. Kudryashov
737c49a357
Add 'const' qualifier to some cmCommand members
...
Use const_cast for the special case in cmFindBase where
GetFullDocumentation calls GenerateDocumentation.
2012-02-29 13:27:04 -05:00
David Cole
2d14b15ec2
Clarify list subcommand documentation ( #8154 )
...
Make it clear that list subcommands that modify the list
do so in the current CMake variable scope, regardless of
the original scope of the list variable involved.
2011-02-07 16:55:07 -05:00
Brad King
96afb12087
Convert CMake to OSI-approved BSD License
...
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.
2009-09-28 11:43:28 -04:00
Ken Martin
f686dbecb6
some white space fixes for the book
2009-09-03 15:29:29 -04:00
Sebastien Barre
f64d3d0b77
ENH: add REMOVE_DUPLICATES subcommand to LIST command (and test). Remove duplicates from a list (keep the ordering)
2008-03-12 17:02:10 -04:00
Ken Martin
0e69d38004
ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class
2008-01-23 10:28:26 -05:00
Bill Hoffman
c8b8e0c702
BUG: fix for bug 6207 explain list index values better
2008-01-02 10:56:08 -05:00
Bill Hoffman
f282f999c3
BUG: fix bug 6081
2007-12-14 15:50:10 -05:00
Ken Martin
8d32d229a3
ENH: make commands lower case by default
2007-10-10 11:47:43 -04:00
Alexander Neundorf
2f23ecdb8a
ENH: change LIST(CONTAINS ...) TO LIST(FIND ...), which returns the index
...
and which is more useful, because then you can also access the item behind
the one you were looking, useful for writing macros with optional keywords
with parameters
Alex
2007-08-15 10:26:50 -04:00
Alexander Neundorf
c8010cd7fb
ENH: add LIST(CONTAINS ...) patch from "Miguel A. Figueroa-Villanueva, miguelf (AT) ieee.org
...
added tests for LIST(CONTAINS, SORT, REVERSE)
Alex
2007-07-12 11:56:45 -04:00
Alexander Neundorf
1835c327ff
STYLE: use "items" instead od "item"
...
Alex
2007-05-24 08:18:46 -04:00
Andy Cedilnik
c9eaf72567
BUG: Add missing API
2006-08-22 10:16:46 -04:00
Andy Cedilnik
70d8c0f3d8
STYLE: Fix style
2006-05-16 08:42:14 -04:00
Andy Cedilnik
cb2a9be622
ENH: Change REMOVE and REMOVE_ITEM to REMOVE_AT and REMOVE_ITEM
2006-05-15 09:57:49 -04:00
Andy Cedilnik
3b92585cf0
ENH: Remove some errors, fix append to work on nonexisting lists
2006-05-15 09:25:06 -04:00
Andy Cedilnik
b1b1973736
ENH: Some documentation and add APPEND
2006-05-11 13:56:58 -04:00
Bill Hoffman
89e5fc63fe
STYLE: fix line lengths
2006-03-10 13:54:57 -05:00
Andy Cedilnik
f87271d0ea
ENH: Add initial implementation of the list command
2006-02-10 14:11:12 -05:00