Commit Graph

35 Commits

Author SHA1 Message Date
Brad King 180538c706 Source: Stabilize include order
Each source file has a logical first include file.  Include it in an
isolated block so that tools that sort includes do not move them.
2016-04-29 13:58:31 -04: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
Brad King 5303fbf09e Speedup find_* commands (#11412)
Delay computation of the command documentation until it is needed.
It is wasteful to do it in the constructor on every call.

Inspired-By: Christian Ehrlicher <Ch.Ehrlicher@gmx.de>
2010-11-12 10:47:28 -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
Alexander Neundorf 97516244f5 STYLE: fix docs: it must replace "find_path" instead of "FIND_PATH" with
"find_file", otherwise the docs talk about find_path() instead of find_file
(patch from  Michael Wild, #9047)

Alex
2009-05-18 15:27:33 -04:00
Ken Martin 8d32d229a3 ENH: make commands lower case by default 2007-10-10 11:47:43 -04:00
Ken Martin 2af4710525 STYLE: fix line length 2006-05-10 15:46:45 -04:00
Bill Hoffman a5825cd11a ENH: check in new find stuff 2006-03-02 13:30:22 -05:00
Brad King 938890757a ENH: Improved support for user-configured search paths. Paths given in the CMAKE_LIBRARY_PATH cmake variable are searched first, then those in the CMAKE_LIBRARY_PATH environment variable, then those listed in the call to the FIND_LIBRARY command and finally those listed in the PATH environment variable. The support is similar for finding include files with FIND_PATH, but the variable is CMAKE_INCLUDE_PATH. 2006-01-27 18:20:55 -05:00
Bill Hoffman 14606c9902 ENH: move framework stuff from FindFile to FindPath 2005-12-30 21:54:26 -05:00
Andy Cedilnik 2804a0d7db COMP: Remove shadow variable warning 2005-12-30 13:22:10 -05:00
Andy Cedilnik 416bbaef53 COMP: Remove warnings 2005-12-30 12:58:00 -05:00
Bill Hoffman 552842d11f ENH: make sure -F is not duplicated 2005-12-27 15:33:47 -05:00
Bill Hoffman 82bb6fae0d ENH: add framework support to FIND_FILE 2005-12-27 14:56:56 -05:00
Ken Martin 072db6ad70 removed redundent includes 2003-08-10 18:30:54 -04:00
Bill Hoffman f58d7df66a ENH: add checking for NOTFOUND 2003-01-31 13:50:42 -05:00
Brad King 4888c088ae ENH: Moved ExpandListVariables out of individual commands. Argument evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside. 2002-12-11 18:13:33 -05:00
Brad King 1f6a3c67b1 ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs. 2002-10-23 18:03:27 -04:00
Bill Hoffman 7d76de4403 make sure ; expansion is done in all commands 2002-03-29 14:20:32 -05:00
Bill Hoffman 809b32fe59 ENH: remove several compiler warnings 2002-03-13 10:25:11 -05:00
Bill Hoffman 4651dbcfc6 ENH: expand variables in arguments before the commands get them 2002-03-05 18:41:24 -05:00
Will Schroeder a6a43d5320 ENH:Updated copyright 2002-01-21 15:30:43 -05:00
Bill Hoffman 3e24edcd04 ENH: add possibility to add doc strings to varibles created by find type commands 2001-11-26 18:24:47 -05:00
Ian Scott 8106e93dca This command should always set the cahce variabel to a filepath not a path 2001-10-18 13:03:37 -04:00
Bill Hoffman baa28efd10 ENH: change InitialPass to take a const reference to the argument string, to avoid changes to the file cache 2001-09-20 15:08:30 -04:00
Brad King 65ef85320a ENH: Added cmSystemTools::GlobDirs function to allow wildcards in paths (like /foo/bar/*). 2001-09-20 10:54:29 -04:00
Bill Hoffman 11269bb1c4 BUG: fix return when file is not found 2001-09-17 16:34:41 -04:00
Bill Hoffman db1303aa7d ENH: big change, only allow commands access to the cache via the cmMakefile class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping 2001-08-08 11:54:46 -04:00
Bill Hoffman 9922155423 ENH: rename Invoke to InitialPass 2001-06-06 13:19:15 -04:00
Ken Martin 2fb2207c10 bug fixes 2001-04-30 14:56:06 -04:00
Ken Martin 07bd60f6b3 better help strings 2001-04-27 09:30:27 -04:00
Will Schroeder 54cfe84f3f ENH:New copyright 2001-04-27 08:01:17 -04:00
Bill Hoffman 2c1fb789d7 ENH: add help for cache entries 2001-04-26 14:53:44 -04:00
Ken Martin 30ad61805b bug fixes 2001-04-26 09:38:31 -04:00
Ken Martin 3acd5951ba new command 2001-02-26 17:13:30 -05:00