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
Kitware Robot
7bbaa4283d
Remove trailing whitespace from most CMake and C/C++ code
...
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/ \+$//'
2012-08-13 14:18:39 -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
Eric NOULARD
1629615a10
CPack Documentation extraction from CMake script begins to work
...
- 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
2012-01-22 13:31:24 +01: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
Brad King
71c0e1417b
ENH: Keep only FinalPass commands in memory
...
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.
2009-07-24 13:31:34 -04:00
Brad King
5f57efb417
BUG: Skip a command if its arguments fail to parse
...
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.
2008-09-24 08:51:33 -04:00
Ken Martin
d49ef18f8a
ENH: add first cut and policies still need to add the doc support
2008-03-01 15:20:35 -05: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
Alexander Neundorf
2e56fa4808
ENH: add framework for unified handling of arguments to cmake commands,
...
example see cmExportCommand.cxx
Alex
2007-07-02 15:43:21 -04:00
Brad King
f12742d6cd
ENH: Patch from Alex to add IsDiscouraged method for future use in generating separate documentation for old commands. Also modified documentation of MAKE_DIRECTORY and REMOVE commands to indicate they should not be used.
2006-08-31 13:20:12 -04:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Andy Cedilnik
d9dc9b54a6
ENH: Add superclass for all commands and handlers. Improve handlers to have initialization code, and start initializing ctest when start is invoked
2005-06-17 13:04:56 -04:00
Andy Cedilnik
ed75322836
COMP: Fix build error on Windows
2005-06-16 15:44:35 -04:00
Andy Cedilnik
4c658a5bc5
ENH: Add classname to commands
2005-06-16 14:05:22 -04:00
Andy Cedilnik
63a34874d5
ENH: Add accessor for Makefile and make SetError public
2005-06-15 15:51:39 -04:00
Ken Martin
345cf04012
ENH: big change that includes immediate subdir support, removing the notion of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
2005-03-18 10:41:41 -05:00
Andy Cedilnik
69dd3218ba
ENH: Start includding the scripting support
2003-10-29 08:58:54 -05:00
Ken Martin
072db6ad70
removed redundent includes
2003-08-10 18:30:54 -04:00
Andy Cedilnik
4d311988b9
ENH: Initial framework for deprecated commands
2003-07-21 14:42:54 -04: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
Ken Martin
7ddb408621
removed some includes
2002-09-27 16:24:10 -04:00
Will Schroeder
a6a43d5320
ENH:Updated copyright
2002-01-21 15:30:43 -05: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
Will Schroeder
9027c8bdf7
ERR:Spelling mistake
2001-07-06 12:46:31 -04:00
Bill Hoffman
9922155423
ENH: rename Invoke to InitialPass
2001-06-06 13:19:15 -04:00
Bill Hoffman
f07ee5b817
ENH: change find library and find program to look for more than one name
2001-05-09 14:53:32 -04:00
Will Schroeder
54cfe84f3f
ENH:New copyright
2001-04-27 08:01:17 -04:00
Brad King
ce484264de
ENH: Improved error handling when GetError is called on a command that has not called SetError.
2001-03-12 18:30:58 -05:00
Brad King
463e466be3
ENH: Added safe downcast support (without RTTI) to cmCommand and its subclasses.
2001-02-26 12:07:53 -05:00
Brad King
d31ce24413
ERR: Fixed warnings (int->unsigned int and a few others).
2001-02-23 10:40:13 -05:00
Bill Hoffman
89e037ee19
ENH: first pass at cache, clean up the unix generator, clean up configure.in some
2001-02-19 15:13:48 -05:00
Will Schroeder
658614ff6a
ENH:Reworked CMake for consistency
2001-01-18 11:20:24 -05:00