summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'wix-components'Brad King2013-12-024-46/+303
|\ | | | | | | | | 7b390f7 CPackWiX: add CPack component support
| * CPackWiX: add CPack component supportNils Gladitz2013-11-264-46/+303
| | | | | | | | | | | | | | Creates a hierarchy of WiX features from CPack components and component groups. Switch to the FeatureTree UI in case components have been defined. Handles the component REQUIRE and HIDDEN options and the component group EXPANDED option.
* | CPack: use IsOn instead of IsSet for boolean CPack optionsNils Gladitz2013-11-191-7/+7
|/ | | | | The CPackComponent macros specifically set CPack options to FALSE which CPack previously interpreted to mean "true".
* cmGlobalGenerator: Cleanup GenerateBuildCommand APIBrad King2013-11-181-8/+10
| | | | | | | | | All cmGlobalGenerator::GenerateBuildCommand call sites that need to produce a string now generate "cmake --build" commands. The remaining call sites immediately pass the result to cmSystemTools::RunSingleCommand. Avoid the intermediate string and argument parsing by directly producing a vector of strings. Also drop the ignoreErrors argument because no call sites remain that use it.
* Merge topic 'wix-custom-arguments'Brad King2013-11-132-6/+73
|\ | | | | | | | | 096591b CPackWiX: Add variables for custom tool extensions and flags
| * CPackWiX: Add variables for custom tool extensions and flagsNils Gladitz2013-11-122-6/+73
| |
* | Refactor internal resource location APIs and initializationBrad King2013-11-123-41/+1
|/ | | | | | | | | | | | | | | | | | | | Rename cmSystemTools::FindExecutableDirectory to FindCMakeResources. Teach it to compute the locations of cmake, ctest, cpack, ccmake, and cmake-gui executables, and the location of CMAKE_ROOT. Provide this information from static cmSystemTools::Get<resource>() methods. Refactor code that needs these locations to use the new APIs. Teach FindCMakeResources to use the OS X system API to lookup the executable location. When running from the CMake build tree itself, leave a file in the tree that FindCMakeResources can use to read the location of the source tree. This avoids the need to compile the source tree location into a binary that may be installed and used without the source tree. Teach the QtDialog on OS X to create a "cmake-gui" symlink in the build tree next to "cmake" and the other tools, as is already done in the install tree for the application bundle. This ensures a consistent set of executables are available in one directory.
* cpack: For DragNDrop generator, add sysroot option when calling Rez.Clinton Stimpson2013-11-011-1/+1
|
* cpack: For DragNDrop generator, add sysroot option when calling Rez.Clinton Stimpson2013-11-011-1/+6
| | | | | | | Also adding overwrite option (-ov) in case multiple temporary dmg files are being created. Fixes bug #14536.
* CPackWiX: use safe IDs for generated start menu shortcutsNils Gladitz2013-10-264-125/+199
|
* 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-163-144/+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-153-73/+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.
* Merge topic 'wix-extra-sources'Brad King2013-10-152-0/+32
|\ | | | | | | | | 2e6cadd CPackWiX: allow user supplied extra sources, objects and libraries
| * CPackWiX: allow user supplied extra sources, objects and librariesNils Gladitz2013-10-132-0/+32
| |
* | CPackWiX: generate deterministic ids for directories, components and filesNils Gladitz2013-10-122-23/+150
|/
* Haiku: Remove use of B_COMMON_DIRECTORYAdrien Destugues2013-10-081-5/+6
| | | | | | | The common directory was removed in Haiku. Applications are now installed in the system directory. Applied-by: Rolf Eike Beer <eike@sf-mail.de>
* CPack: Fix clang -Wdocumentation warningsEric NOULARD2013-09-241-4/+5
|
* CPack: Fix a typo in documentationYury G. Kudryashov2013-08-151-1/+1
|
* Merge topic 'cpack-wix'Brad King2013-07-222-13/+134
|\ | | | | | | | | | | | | | | | | | | bf23891 CPackWIX: Add support for custom WiX templates 155bb01 CMakeCPack: Provide an upgrade guid for WiX bfa2e29 CPackWIX: Add option to specify the language(s) of the installer 6e51ea9 CPackWIX: Handle multiple shortcuts in the start menu 6d77e1a CPackWIX: Fix MSI package layout regression from parent 8c0e325 CPackWIX: Handle CPACK_PACKAGE_EXECUTABLES (#13967)
| * CPackWIX: Add support for custom WiX templatesAdam J. Weigold2013-07-191-0/+4
| | | | | | | | | | | | | | | | | | WiX provides a lot of functionality for installers that cannot be supported (easily) in the default WIX.template.in file. For most users, the default template should be fine. However if users want to produce merge modules, include custom actions, etc, this new option allows for a hook into how the wxs is produced.
| * CPackWIX: Add option to specify the language(s) of the installerRichard Ulrich2013-07-191-0/+5
| | | | | | | | Add option "CPACK_WIX_CULTURES".
| * CPackWIX: Handle multiple shortcuts in the start menuRichard Ulrich2013-07-191-7/+13
| |
| * CPackWIX: Fix MSI package layout regression from parentIan Monroe2013-07-191-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The parent commit added a regression where if the install directory had: parent child A child B the produced MSI would install: parent child A child B
| * CPackWIX: Handle CPACK_PACKAGE_EXECUTABLES (#13967)Fredrik Axelsson2013-07-192-10/+120
| | | | | | | | | | Add start menu items including an uninstall shortcut. Add variable CPACK_WIX_PROGRAM_MENU_FOLDER to configure folder name.
* | Merge topic 'doc-improvements'Brad King2013-05-161-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7cc2805 Docs: Clarify wording "flag used" => "flag (to|will) be used" 2378a69 Docs: Clarify that CMAKE_*_(PREFIX|SUFFIX) affect filenames 56ca34d Docs: Update description of CMAKE_(BUILD_TYPE|CONFIGURATION_TYPES) 2bab472 VS10: add detailed comment about MIDL processing e619111 Explain distribution of Win9x binary on all Windows versions. 5ca4336 FindwxWidgets: add DOC strings with usual style f57800d Fix spelling and typos (product names) bf019d7 Fix spelling and typos (non-binary) ddac8d3 Fix spelling and typos (affecting binary data / module messages) 86832ce Fix spelling and typos (affecting users)
| * | Fix spelling and typos (affecting binary data / module messages)Andreas Mohr2013-05-071-1/+1
| |/
* | Add projectDir parameter to GenerateBuildCommandPetr Kmoch2013-04-121-1/+1
|/ | | | | | | | Extend the cmGlobalGenerator::GenerateBuildCommand virtual method signature with a "projectDir" parameter specifying the top of the project build tree for which the build command will be generated. Populate it from call sites in cmGlobalGenerator::Build where a fully-generated build tree should be available.
* CPack: Avoid "format expects 'unsigned int'" warningsPaul Kunysch2013-03-221-4/+4
| | | | | Cast sprintf uid and gid arguments to match the type expected by their "%-6u" format strings.
* CPack: Fix NSIS version check without release version (#9721)Gerald Hofmann2013-03-081-12/+24
| | | | | | | | | | Only check a release version for the minimum required version. If NSIS returns a CVS build version string (as when built by Macports), skip the version check altogether and assume a sufficiently new version. Also correctly handle the case where the version check fails and the CPACK_TOPLEVEL_DIRECTORY option is not set. Co-Author: Graham Menhennitt <graham@menhennitt.com.au>
* 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.
* Haiku no longer defines __BEOS__Rolf Eike Beer2013-01-071-2/+2
|
* CPack: WIX Product Icon, UI Banner, UI Dialog support (#13789)Eric LaFranchi2012-12-281-0/+3
|
* CPack: Fix dashboard errors and warnings (#11575)David Cole2012-12-045-21/+21
| | | | | | | | | | | ...revealed by the Nightly dashboard runs last night. Use "size_t" instead of "std::size_t" so that it compiles with Visual Studio 6, too. Fix warnings about shadowed "tmp" local variable and ordering of member variables vs. lines of code in the constructor initializer list.
* CPack: Fix dashboard warnings (#11575)David Cole2012-12-031-6/+7
| | | | | Fix int vs. size_t conversion warnings that only showed up in the 64-bit builds.
* CPack: Fix dashboard errors (#11575)David Cole2012-12-031-2/+2
| | | | | | Use same technique here with UuidToString as already found in cmGlobalVisualStudio7Generator::CreateGUID to avoid using a type that is not defined on older systems... (VS 7.0 and Borland)
* CPack: Add a WiX Generator (#11575)Nils Gladitz2012-12-037-0/+1118
| | | | | | | | | | This new CPack generator produces an *.msi installer file. Requires having the WiX Toolset installed in order to work properly. Download the WiX Toolset installer "WiX36.exe" here: http://wix.codeplex.com/releases/view/93929
* Merge topic 'use-cmsys-auto_ptr'Brad King2012-11-272-4/+2
|\ | | | | | | | | ddc0520 Always use the auto_ptr from cmsys.
| * Always use the auto_ptr from cmsys.Stephen Kelly2012-11-202-4/+2
| | | | | | | | | | | | 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.
* | CPack/NSIS: Add support for 64-bit NSIS (#13203)David Golub2012-11-203-2/+25
|/
* Merge topic 'CPack-BugFixesSet'Brad King2012-11-131-1/+0
|\ | | | | | | | | b6f7881 Remove seemingly bogus duplicate CPACK_PACKAGE_FILE_NAME call.
| * Remove seemingly bogus duplicate CPACK_PACKAGE_FILE_NAME call.Andreas Mohr2012-11-111-1/+0
| | | | | | | | Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* | Correct string literal typo (have "(NULL)" like all other cases).Andreas Mohr2012-11-101-1/+1
|/ | | | Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* Merge topic 'deb-rpm-all_components_in_one'Brad King2012-11-062-4/+20
|\ | | | | | | | | e7e2694 CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE"
| * CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE"Clinton Stimpson2012-11-062-4/+20
| |
* | Merge topic 'packagemaker-component-postflight'David Cole2012-10-313-36/+97
|\ \ | | | | | | | | | | | | 4374441 PackageMaker: Enable postflight script in component mode (#12375)
| * | PackageMaker: Enable postflight script in component mode (#12375)Clinton Stimpson2012-10-313-36/+97
| |/ | | | | | | | | | | | | | | | | | | | | Previously, setting CPACK_POSTFLIGHT_SCRIPT had no effect in component mode, when CPACK_COMPONENTS_ALL was set. In component mode, a .mpkg is created that contains multiple .pkg's. Because postflight scripts only work in a .pkg, add another .pkg to the .mpkg and put the postflight script in that. This is the same approach taken by the PackageMaker GUI when adding a postflight script to a metapackage.