summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* stringapi: Use strings for variable namesBen Boeckel2014-03-082-14/+10
| | | | Variable names are always generated by CMake and should never be NULL.
* CPackWIX: support installation of empty directoriesNils Gladitz2014-03-013-0/+36
|
* CPackWIX: Allow Windows Installer property customizationNils Gladitz2014-03-014-0/+46
|
* CPackWIX: refactor and cleanupNils Gladitz2014-02-2617-534/+842
| | | | | Extract addtional classes and functions which are getting unsightly large. Use some of the coding conventions more consistently.
* CPackWiX: Add support for CPACK_CREATE_DESKTOP_LINKSTimo Rothenpieler2014-02-082-2/+113
|
* CPackWiX: added new CPACK_WIX_CMAKE_PACKAGE_REGISTRY variableNils Gladitz2014-01-082-1/+45
| | | | | Allows automatic registration of installed packages with the cmake package registry.
* Merge topic 'unicode-fstream'Brad King2014-01-079-16/+21
|\ | | | | | | | | 5730710 Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.
| * Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.Clinton Stimpson2014-01-079-16/+21
| | | | | | | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
* | Use Encoding::CommandLineArguments for main() functions.Clinton Stimpson2014-01-041-1/+7
|/
* Merge topic 'wix-rtf-encoding'Brad King2014-01-022-1/+98
|\ | | | | | | | | 950d76e CPackWiX: allow and convert UTF-8 sequences in RTF writer
| * CPackWiX: allow and convert UTF-8 sequences in RTF writerNils Gladitz2013-12-262-1/+98
| |
* | CPackWiX: transfer file read only flag during installationNils Gladitz2013-12-251-0/+11
|/
* Merge topic 'wix-cmake-coding-conventions'Brad King2013-12-238-108/+108
|\ | | | | | | | | 37a1157 CPackWiX: adhere to CMake member naming convention
| * CPackWiX: adhere to CMake member naming conventionNils Gladitz2013-12-208-108/+108
| |
* | CPackWiX: replace slash with backslash in registry key pathNils Gladitz2013-12-201-1/+1
|/ | | | Forward slash is not understood as a key path separator.
* CPackWiX: allow customization of generated WiX sourcesNils Gladitz2013-12-174-0/+305
| | | | | | Added a new variable CPACK_WIX_PATCH_FILE that users can point at an XML patch file. Fragments defined within the patch file will be inserted at supported insertion points (currently Component, File and Directory).
* Windows: Use wide-character system APIsClinton Stimpson2013-12-091-4/+6
| | | | | Make CMake compile with -DUNICODE. Make it possible for the 8 bit encoding to eventually be UTF-8 instead ANSI.
* 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>