summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* cmCPackGenerator: Avoid crash on undefined CMAKE_MAKE_PROGRAMBrad King2014-06-251-2/+2
| | | | | | | | | | | Since commit 6557382d (stringapi: Use strings for program paths, 2014-02-24), cmGlobalGenerator::GenerateBuildCommand takes the make program path as a std::string. Fix the lookup in cmCPackGenerator::InstallProjectViaInstallCMakeProjects to use GetSafeDefinition for CMAKE_MAKE_PROGRAM to avoid possible construction of std::string from a NULL. Reported-by: Richard Wirth <richard@califax.de>
* Merge topic 'setlocale'Brad King2014-06-131-1/+1
|\ | | | | | | | | c746b00e Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.
| * Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.Clinton Stimpson2014-06-121-1/+1
| | | | | | | | | | Changing all categories with LC_ALL causes test failures in some locales. For example, in some locales, the decimal characer could be a comma instead of period.
* | regex: Use static regexs where possibleBen Boeckel2014-06-091-2/+2
|/ | | | | Rather than declaring and compiling a constant regex every time a chunk of code is executed, build the regex once.
* Encoding: Add setlocale() to applications.Clinton Stimpson2014-06-041-0/+2
| | | | See also bug #14934 where chinese characters could not be used with cpack.
* CPackWiX: Implement CPACK_NEVER_OVERWRITE and CPACK_PERMANENT propertiesNils Gladitz2014-05-283-3/+23
|
* Add an "installed file" property scopeNils Gladitz2014-05-283-4/+16
| | | | | | | Teach set_property and get_property an "INSTALL" property type to be associated with install-tree file paths. Make the properties available to CPack for use during packaging. Add a "prop_inst" Sphinx domain object type for documentation of such properties.
* CPackWIX: Delay creation of cmWIXPatch until CPack has initialized LoggerNils Gladitz2014-04-182-6/+16
| | | | | Without the fix CPack will crash when the cmWIXPatch class tries to issue any diagnostics.
* cmTypeMacro: Add a class to eat the semicolon following the macro use.Stephen Kelly2014-04-031-3/+4
| | | | | Apply the same workaround to the cmCPackTypeMacro. Additionally change that macro to not use 'class' as a macro parameter.
* CPackDeb: Add option to set compression typeSean D'Epagnier2014-03-141-9/+37
| | | | | | Add a CPACK_DEBIAN_COMPRESSION_TYPE option to set the compression type. Default to 'gzip' to preserve existing behavior. Use "cmake -E tar" for 'gzip', 'bzip2', and 'none'. Use system "tar" for 'lzma' and 'xz'.
* Workaround Sun C++ 5.9 compiler crashBrad King2014-03-121-2/+2
| | | | | Adjust whitespace in Source/CPack/cpack.cxx to avoid a strange internal compiler crash.
* Remove c_str calls when using stream APIs.Stephen Kelly2014-03-116-58/+58
| | | | | Use an ad-hoc clang tool for matching the calls which should be ported.
* Remove some c_str() calls.Stephen Kelly2014-03-115-45/+45
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* stringapi: Prevent a NULL dereference in WiXBen Boeckel2014-03-081-1/+1
|
* stringapi: Miscellaneous char* parametersBen Boeckel2014-03-0810-28/+28
|
* stringapi: Pass strings as install directories in CPackBen Boeckel2014-03-082-13/+13
|
* stringapi: Pass configuration names as stringsBen Boeckel2014-03-081-3/+4
|
* strings: Remove cmStdString referencesBen Boeckel2014-03-082-3/+3
| | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
* stringapi: Use string for OS X resource namesBen Boeckel2014-03-084-10/+13
|
* stringapi: Use strings in CPack generator parametersBen Boeckel2014-03-084-22/+23
| | | | | | Most of these are turned into strings in the body of the method (multiple times in some cases). Accept strings to simplify the API and keep string construction down.
* 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.