summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDragNDropGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmSystemTools: Teach RunSingleCommand to separate stdout and stderrBrad King2015-04-201-1/+1
| | | | | | | Extend the RunSingleCommand signature to capture stdout and stderr separately. Allow both to be captured to the same std::string to preserve existing behavior. Update all call sites to do this so that this refactoring does not introduce functional changes.
* Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-111-22/+22
| | | | All compilers hosting CMake support the std class.
* Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.Clinton Stimpson2014-01-071-1/+2
| | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
* 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.
* Fix for possible Rez errors when creating dmg.Clinton Stimpson2012-10-231-1/+16
| | | | | Rez appears to have a limit on the length of lines it processes. Break up long lines from a license file to avoid the error.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-17/+17
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Xcode: Detect new default locations of Xcode 4.3 bits and pieces (#12621)David Cole2012-03-091-2/+8
| | | | | | | | | | | | | | | | | | | | | | Xcode 4.3 installs into "/Applications" by default, from the Mac App Store. Also, the paths to the available SDKs changed: they are now within the Xcode.app bundle. PackageMaker is installed as a separate program, and may be installed anywhere. It is not installed with Xcode 4.3 by default anymore. Download the "Auxiliary Tools for Xcode" to get PackageMaker. Put PackageMaker inside the Xcode.app bundle, in its nested Applications folder, or put it alongside Xcode in "/Applications" and CMake will find it. Update references to "find" paths: add new possible locations for finding Xcode.app and PackageMaker.app. Prefer the most recent version's locations first, but keep the old locations as fallback search paths, too. Thanks to all the contributors who provided and tested out various patches for fixing this issue. Especially, but by no means limited to: Francisco Requena Espí, Jamie Kirkpatrick and drfrogsplat.
* DragNDrop: Fix problem with relocated files in Xcode 4.3Clinton Stimpson2012-02-291-5/+4
| | | | | | Remove dependency on /Developer/Headers/FlatCarbon when creating SLAs for DMG images. Instead, of adding those .r files on the command line, include the necessary .r files from the generated .r file.
* Fix KWStyle warningsEric NOULARD2011-04-011-8/+17
|
* Add component support to DragNDrop generator.Clinton Stimpson2011-03-311-4/+91
|
* CPack: Avoid member shadowing after API refactorBrad King2010-08-111-4/+3
| | | | | After converting method arguments to members we need to avoid use of the same names as local variables and other method arguments.
* CPack: Refactor API in order to handle multi-file packagesEric NOULARD2010-08-111-4/+2
| | | | | | | | The multi-argument CompressFiles(...) method has been replace by the no-argument PackageFiles() method and 3 more member variables. This will enable implemention of multi-package generators. Now each specific generator (which overloads PackageFiles()) may decide to change the name and/or the number of generated package files.
* Fix issue #8818 - escape quotes in the license file when using the DragNDrop ↵David Cole2009-09-281-0/+7
| | | | cpack generator. Thanks to Clinton Stimpson for the patch.
* 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.
* BUG: Fix issue #8759 - add support for setting dmg volume name and ↵David Cole2009-04-031-2/+78
| | | | compression type by CPack variables. Also add custom .DS_Store and background image support. Thanks to Mike Arthur for the patches.
* STYLE: Fix line length violation.David Cole2009-02-241-1/+2
|
* ENH: Add license file presentation to the Drag-N-Drop dmg file CPack ↵David Cole2009-02-231-6/+157
| | | | generator. Fixes issue #8442. Thanks to Clinton Stimpson for the patch.
* STYLE: Fix style line-too-long violations.David Cole2009-02-201-3/+4
|
* BUG: A little bit more refactoring from BundleGenerator to ↵David Cole2009-02-191-47/+53
| | | | DragNDropGenerator. See issue #8556. Thanks for Clinton Stimpson for the patch.
* BUG: Fix issue #8402. Add a drag and drop bundle generator to the Mac build ↵David Cole2009-01-221-0/+253
of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch.