summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace 'foo.length() == 0' pattern with foo.empty().Stephen Kelly2015-01-181-1/+1
|
* 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.
* stringapi: Command namesBen Boeckel2014-03-081-1/+1
|
* stringapi: Accept strings when setting command errorsBen Boeckel2014-03-081-1/+1
|
* Add infrastructure for policies that disallow commandsBrad King2013-10-221-0/+19
| | | | | | | | Add cmCommand::Disallowed helper to check the setting of a policy that disallows the command. Add a RunCMake.DisallowedCommands test placeholder. Add a Help/policy/DISALLOWED_COMMAND.txt file for inclusion by each policy document to avoid duplication of the common text.
* Drop builtin command documentationBrad King2013-10-161-10/+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-11/+11
| | | | | | | | | | | | | | | | | 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-7/+7
| | | | | Use const_cast for the special case in cmFindBase where GetFullDocumentation calls GenerateDocumentation.
* CPack Documentation extraction from CMake script begins to workEric NOULARD2012-01-221-0/+11
| | | | | | | | | | - Enhance extract doc parser. Seems robust now. The legacy module documentation parser works as before ignoring the new markup. - Proof of concept for CPack (generic), CPack RPM and CPack Deb generator for macro and variables. Try cpack --help-command and cpack --help-variables
* 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: Keep only FinalPass commands in memoryBrad King2009-07-241-0/+5
| | | | | | In cmMakefile we save all invoked commands so that FinalPass can be called on them later. Most commands have no final pass, so we should keep only the few that do.
* BUG: Skip a command if its arguments fail to parseBrad King2008-09-241-1/+6
| | | | | | | | If the arguments to a command fail to parse correctly due to a syntax error, the command should not be invoked. This avoids problems created by processing of commands with bad arguments. Even though the build system will not be generated, the command may affect files on disk that persist across CMake runs.
* ENH: add first cut and policies still need to add the doc supportKen Martin2008-03-011-8/+0
|
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-3/+5
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* ENH: add framework for unified handling of arguments to cmake commands,Alexander Neundorf2007-07-021-0/+2
| | | | | | example see cmExportCommand.cxx Alex
* ENH: Patch from Alex to add IsDiscouraged method for future use in ↵Brad King2006-08-311-0/+9
| | | | generating separate documentation for old commands. Also modified documentation of MAKE_DIRECTORY and REMOVE commands to indicate they should not be used.
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-18/+18
|
* ENH: Add superclass for all commands and handlers. Improve handlers to have ↵Andy Cedilnik2005-06-171-45/+4
| | | | initialization code, and start initializing ctest when start is invoked
* COMP: Fix build error on WindowsAndy Cedilnik2005-06-161-2/+2
|
* ENH: Add classname to commandsAndy Cedilnik2005-06-161-0/+6
|
* ENH: Add accessor for Makefile and make SetError publicAndy Cedilnik2005-06-151-1/+6
|
* ENH: big change that includes immediate subdir support, removing the notion ↵Ken Martin2005-03-181-9/+0
| | | | of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
* ENH: Start includding the scripting supportAndy Cedilnik2003-10-291-0/+8
|
* removed redundent includesKen Martin2003-08-101-1/+0
|
* ENH: Initial framework for deprecated commandsAndy Cedilnik2003-07-211-0/+8
|
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-2/+16
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* 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.
* removed some includesKen Martin2002-09-271-1/+1
|
* ENH:Updated copyrightWill Schroeder2002-01-211-30/+6
|
* 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
* ERR:Spelling mistakeWill Schroeder2001-07-061-1/+1
|
* ENH: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* ENH: change find library and find program to look for more than one nameBill Hoffman2001-05-091-1/+1
|
* ENH:New copyrightWill Schroeder2001-04-271-5/+30
|
* ENH: Improved error handling when GetError is called on a command that has ↵Brad King2001-03-121-1/+8
| | | | not called SetError.
* ENH: Added safe downcast support (without RTTI) to cmCommand and its subclasses.Brad King2001-02-261-0/+37
|
* ERR: Fixed warnings (int->unsigned int and a few others).Brad King2001-02-231-0/+5
|
* ENH: first pass at cache, clean up the unix generator, clean up configure.in ↵Bill Hoffman2001-02-191-6/+2
| | | | some
* ENH:Reworked CMake for consistencyWill Schroeder2001-01-181-0/+138