summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackBundleGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Remove c_str() calls from stream arguments.Daniel Pfeifer2016-06-061-4/+4
| | | | | | Mostly automated: git grep -l '.c_str() <<' | xargs sed -i 's|\.c_str() <<| <<|g'
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-99/+89
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Remove `//------...` horizontal separator commentsBrad King2016-05-091-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | Modern editors provide plenty of ways to visually separate functions. Drop the explicit comments that previously served this purpose. Use the following command to automate the change: $ git ls-files -z -- \ "*.c" "*.cc" "*.cpp" "*.cxx" "*.h" "*.hh" "*.hpp" "*.hxx" | egrep -z -v "^Source/cmCommandArgumentLexer\." | egrep -z -v "^Source/cmCommandArgumentParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmDependsJavaLexer\." | egrep -z -v "^Source/cmDependsJavaParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmExprLexer\." | egrep -z -v "^Source/cmExprParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmFortranLexer\." | egrep -z -v "^Source/cmFortranParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmListFileLexer\." | egrep -z -v "^Source/cm_sha2" | egrep -z -v "^Source/(kwsys|CursesDialog/form)/" | egrep -z -v "^Utilities/(KW|cm).*/" | xargs -0 sed -i '/^\(\/\/---*\|\/\*---*\*\/\)$/ {d;}' This avoids modifying third-party sources and generated sources.
* Source: Stabilize include orderBrad King2016-04-291-0/+1
| | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
* CPack: Add support to overwrite or pass additional parameter to codesignAndré Klitzing2015-03-231-3/+11
|
* CPack: Print output from codesign if signing failsAndré Klitzing2015-02-201-6/+7
|
* Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-111-13/+13
| | | | All compilers hosting CMake support the std class.
* CPack: Add support for code signing of bundles on MacOSAndré Klitzing2014-10-281-1/+125
|
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-2/+2
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Add component support to DragNDrop generator.Clinton Stimpson2011-03-311-1/+6
|
* CPack: Avoid member shadowing after API refactorBrad King2010-08-111-1/+1
| | | | | 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.
* 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: A little bit more refactoring from BundleGenerator to ↵David Cole2009-02-191-125/+1
| | | | DragNDropGenerator. See issue #8556. Thanks for Clinton Stimpson for the patch.
* BUG: Fix issue #8383. Avoid crashing when using the Bundle CPack generator ↵David Cole2009-01-221-0/+16
| | | | and CPACK_BUNDLE_NAME is not set. Instead, fail gracefully giving an informative error message and non-zero exit code.
* BUG: Fix issue #8402. Add a drag and drop bundle generator to the Mac build ↵David Cole2009-01-221-82/+0
| | | | of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch.
* BUG: Fix issue #7523: Analyze output of 'hdiutil attach' to get the name of ↵David Cole2009-01-211-7/+11
| | | | the volume that was mounted. Eliminates the need to use the -mountpoint arg of hdiutil which has a silly 90 character limit on the name of the mount point. Also add a custom volume icon to the BundleGeneratorTest to cover this code.
* ENH: allow startup command to be optionalBill Hoffman2008-12-041-27/+22
|
* STYLE: fix line length issuesBill Hoffman2008-10-021-2/+4
|
* STYLE: fix line length stuff for KWStyleBill Hoffman2008-10-011-5/+11
|
* ENH: Improvements to the bundle cpack generator from second patch attached ↵David Cole2008-07-181-100/+138
| | | | to feature request #7170. Thanks to Tim Shead.
* COMP: Eliminate unreferenced variable warningDavid Cole2008-06-191-0/+2
|
* ENH: Apply patch for feature request #7170. Thanks to Tim Shead for ↵David Cole2008-06-181-0/+319
contributing...