summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cpack.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmSystemTools: Drop old RunCommand methodBrad King2013-10-191-5/+0
| | | | | All calls to this method have been replaced by newer infrastructure. Remove it and the supporting cmWin32ProcessExecution class.
* Make --help-* options available from all command-line toolsBrad King2013-10-161-7/+1
| | | | | | | | | | | Make the standard --help-* options available from all command-line tools. Drop options that are no longer supported: --copyright, --help-full, --help-html, --help-man, --help-compatcommands, --help-custom-modules De-duplicate Help/manual/*.1.rst help options by using an OPTIONS_HELP.txt file included from each manual.
* Drop the 'Full' field from cmDocumentationEntryBrad King2013-10-161-75/+24
| | | | | We need only 'Brief' for usage documentation. We no longer have builtin 'Full' documentation, which is now in Help/*/*.rst files.
* Drop builtin property documentationBrad King2013-10-161-1/+0
| | | | | | Drop all DefineProperty calls for non-chained properties. Drop the documentation from the chained ones. The documentation for all properties is now in Help/prop_*/*.rst files.
* Drop "full" documentation output typesBrad King2013-10-151-36/+0
| | | | | | | | | | | | | | | | We will no longer support full documentation generation from executables and will instead generate documentation with other tools. Disable (with a warning left behind) the command-line options: --copyright --help-compatcommands --help-full --help-html --help-man Drop supporting code. Drop manual sections generation from executables. Remove internal documentation construction APIs. Drop unused sections See Also, Author, Copyright, Compat Commands, Custom Modules.
* Drop CPack module documentation markup extractionBrad King2013-10-151-21/+0
| | | | This will be replaced by alternative markup later.
* Fail early if no current working directory existsBrad King2013-02-071-3/+2
| | | | | | | Remove the old "nocwd" behavior that attempts to provide the "--help" output when no working directory is available. The long help output scrolls the real error message out of typical terminal sizes. Also execute as little code as possible when no working directory exists.
* Always use the auto_ptr from cmsys.Stephen Kelly2012-11-201-2/+1
| | | | | | This is for consistency throughout cmake. The cmsys version exists becaues uses of auto_ptr types as return types does not work with some implementations in ancient compilers.
* Merge topic 'CPack-honorCPACK_XXX-valuesInScriptFile'David Cole2012-07-091-3/+16
|\ | | | | | | | | 05a8630 Do not provide defaul value for CPACK_PACKAGE_DIRECTORY if found in config.
| * Do not provide defaul value for CPACK_PACKAGE_DIRECTORY if found in config.Eric NOULARD2012-07-041-3/+16
| | | | | | | | This fixes bug #0012906.
* | CPack fix regression between 2.8.7 and 2.8.8 when running cpack with no arg.Eric NOULARD2012-07-031-2/+6
|/ | | | | | | | In 2.8.7 running cpack with no arguments would run the packaging iff a CPackConfig.cmake file is found whereas In 2.8.8 it displays the help. This commit restore the 2.8.7. We should add a test for this but this is not included in this commit.
* Dynamically add documentation section specified in documented script.Eric NOULARD2012-02-181-2/+1
| | | | Modify CPackDeb and CPackRPM as an example
* Avoid discovering system infos for documentation. Adding some path is enough.Eric NOULARD2012-02-141-19/+20
|
* Create getDocumentedModulesListInDir which may be used in other context.Eric NOULARD2012-02-141-55/+12
| | | | | This should makes it easier to use the same "documented module" techniques for CTest, CMake or user module.
* Make the load of script documentation more efficient and dynamic.Eric NOULARD2012-02-141-13/+47
| | | | | | | | CPack help will be searched in any CPack*.cmake file located near to CPack.cmake file. The script files is parsed iff the first line begin with ##section. Moreover the documentation section name is specified on the remaining part of the line minus the space immediately following ##section.
* CPack Documentation extraction from CMake script begins to workEric NOULARD2012-01-221-49/+54
| | | | | | | | | | - 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
* Implement simple CMake script comment markup language.Eric NOULARD2012-01-221-2/+32
| | | | | | | | | The language is very simple. It use ##<keyword> special comment which opens a structured documentation block and ##end closes it. This may be used to extract documentation for macro as 'command' and 'variables' such that cpack --help-command and --help-variable does parse builtin modules files (CPack.cmake, CPackComponent.cmake, ...) in order to extract the corresponding doc.
* CPack begin the implementation of --help-command* and --help-variables*Eric NOULARD2012-01-221-5/+61
| | | | | | This modifications set tries to keep the unified doc for cmake/ctest/cpack while introducing tool specific documentation separated. Some documentation sections for CMake do not fit well to CPack.
* Document undocumented (but existing) cpack options (fix #0010134)Eric NOULARD2012-01-031-0/+23
|
* Usage: Print help, version and copyright options in usage information.Nicolas Despres2011-10-231-1/+1
| | | | There were missing for ctest, cpack and ccmake.
* Remove trailing white-spaces.Nicolas Despres2011-10-231-5/+5
|
* Fix spelling errors reported by Lintian.Kai Wasserbäch2010-07-131-1/+1
| | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes.
* 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.
* Add parentheses around '&&' between '||' for gccBrad King2009-09-111-4/+5
| | | | | | | The GNU compiler warns about possible operator precedence mistakes and asks for explicit parentheses (-Wparentheses). We add the parentheses to silence the warning. This also fixes one real logic error in the find_package() implementation by correcting expression evaluation order.
* BUG: Fix issue #8383. Avoid crashing when using the Bundle CPack generator ↵David Cole2009-01-221-0/+5
| | | | and CPACK_BUNDLE_NAME is not set. Instead, fail gracefully giving an informative error message and non-zero exit code.
* ENH: missed oneBill Hoffman2008-09-241-1/+1
|
* COMP: auto_ptr will not compile without including memory on some platformsDavid Cole2008-04-181-0/+1
|
* BUG: Fix mem leak. Thanks, Mathieu.David Cole2008-04-171-1/+1
|
* ENH: Centralized and globalized computation of CMake program locations. ↵Brad King2007-12-131-1/+2
| | | | This eliminates startup paths that failed to produce this information.
* ENH: changne ProcessGenertor to DoPackageBill Hoffman2007-11-061-1/+1
|
* ENH: change nameBill Hoffman2007-11-051-2/+2
|
* ENH: change name of classBill Hoffman2007-11-051-3/+3
|
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-15/+13
| | | | there, also provides secitons for Variables now
* BUG: revert doc changes since VS7 cannot compile them, will implement them ↵Ken Martin2007-10-091-14/+14
| | | | in a different manner
* ENH: make documentation entries actually store their dataKen Martin2007-10-091-14/+14
|
* ENH: better error messages from the debian package generatorAlexander Neundorf2007-08-031-3/+3
| | | | | | | -don't display the cpack help if a generator failed with some problem -check for cmSystemTools::GetErrorOccuredFlag() Alex
* STYLE: fix some kwstyle errorsBill Hoffman2007-07-271-2/+2
|
* ENH: deb generator can now generate deb packagesAlexander Neundorf2007-07-271-0/+1
| | | | | | | | | | -remove the unscriptable commands also from the cpack cmake -use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and the deb generator -make set_properties() scriptable -use a non-const char array for adding the python modules Alex
* STYLE: fix line lengthsAlexander Neundorf2007-07-261-2/+4
| | | | Alex
* ENH: determine the current system also in cpack, so the search paths areAlexander Neundorf2007-07-241-71/+88
| | | | | | | | | | | loaded Additionally the makefile in cmCPackGenericGenerator is now protected instead of private, so with these two changes the cpack generators should now be able to find their tools and how to call these tools from cmake scripts, instead of hardcoding the search order and command line (as done e.g. in cmCPackZIPGenerator.cxx) Alex
* STYLE: fix some typos, nicer debug outputAlexander Neundorf2007-07-191-1/+1
| | | | Alex
* COMP: force a recompile on VS71Alexander Neundorf2007-05-181-1/+0
| | | | Alex
* STYLE: Fixed line-too-long.Brad King2006-10-171-1/+2
|
* ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for ↵Andy Cedilnik2006-10-121-0/+5
| | | | CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX
* ENH: fix line lengthsKen Martin2006-07-311-2/+4
|
* BUG: Bail out on generator initialization failureAndy Cedilnik2006-07-281-29/+32
|
* BUG: Fix executing and helpAndy Cedilnik2006-07-271-113/+116
|
* BUG: Prevent crash when no input file or generator specifiedAndy Cedilnik2006-07-271-1/+1
|
* STYLE: Fix some style errorsAndy Cedilnik2006-07-101-6/+10
|
* ENH: Several cleanups and support for multiple generatorsAndy Cedilnik2006-07-091-111/+130
|