summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramCommand.h
Commit message (Collapse)AuthorAgeFilesLines
* find_program: Optionally consider all names in each directoryBrad King2015-09-021-0/+3
| | | | | | | When more than one value is given to the NAMES option this command by default will consider one name at a time and search every directory for it. Add a NAMES_PER_DIR option to tell this command to consider one directory at a time and search for all names in it.
* cmFindProgramCommand: Re-implement search using more flexible approachBrad King2015-09-021-0/+1
| | | | | | | | Avoid using KWSys SystemTools::FindProgram because it does much more than we actually need for find_program and does not allow us to control the order of preference between directories and names. Create our own cmFindProgramHelper much like cmFindLibraryHelper but without all the find_library-specific parts.
* cmFindProgramCommand: Use Names member instead of passing itBrad King2015-09-021-4/+2
|
* stringapi: Command namesBen Boeckel2014-03-081-1/+1
|
* Drop builtin command documentationBrad King2013-10-161-9/+0
| | | | | Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
* 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-3/+3
| | | | | Use const_cast for the special case in cmFindBase where GetFullDocumentation calls GenerateDocumentation.
* Speedup find_* commands (#11412)Brad King2010-11-121-1/+1
| | | | | | | 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>
* 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.
* 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
* ENH: make commands lower case by defaultKen Martin2007-10-101-1/+1
|
* ENH: add patch for finding applications on OSXBill Hoffman2006-04-131-0/+8
|
* ENH: check in new find stuffBill Hoffman2006-03-021-28/+4
|
* 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: Make more commands scriptableAndy Cedilnik2004-02-231-0/+5
|
* ENH: Documentation improvements.Brad King2003-11-131-11/+15
|
* removed redundent includesKen Martin2003-08-101-1/+0
|
* ENH: Cleaned up documentation and formatted it for use by cmDocumentation.Brad King2003-02-141-7/+13
|
* ENH: add checking for NOTFOUNDBill Hoffman2003-01-311-2/+3
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-3/+3
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* ENH/FIX: add NO_SYSTEM_PATH option + fix command usageSebastien Barre2002-05-121-3/+4
|
* ENH: speed improvementsBill Hoffman2002-04-111-1/+1
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* ENH: add possibility to add doc strings to varibles created by find type ↵Bill Hoffman2001-11-261-1/+5
| | | | commands
* ENH: change InitialPass to take a const reference to the argument string, to ↵Bill Hoffman2001-09-201-1/+1
| | | | avoid changes to the file cache
* ENH: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* ENH:New copyrightWill Schroeder2001-04-271-3/+28
|
* fixed bug and modified functionalityKen Martin2001-02-261-2/+2
|
* ENH: Added safe downcast support (without RTTI) to cmCommand and its subclasses.Brad King2001-02-261-0/+2
|
* ENH:Reworked CMake for consistencyWill Schroeder2001-01-181-0/+78