Commit Graph

449 Commits

Author SHA1 Message Date
Bill Hoffman 33478faeb6 ENH: changne ProcessGenertor to DoPackage 2007-11-06 08:28:26 -05:00
Bill Hoffman cfd308ce43 STYLE: fix line length issue 2007-11-06 08:27:43 -05:00
Bill Hoffman 743cec67d5 ENH: change name 2007-11-05 16:55:45 -05:00
Bill Hoffman 62decc533b ENH: change name of class 2007-11-05 16:33:19 -05:00
Brad King f410f8578e COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697. 2007-11-05 14:34:36 -05:00
Bill Hoffman e65c40f94a ENH: add CPACK_PROJECT_CONFIG_FILE option to CPack 2007-10-31 12:55:04 -04:00
Bill Hoffman 771997c556 ENH: fix line length 2007-10-31 09:03:40 -04:00
David Cole 5beb1da7f7 ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator. 2007-10-31 08:50:17 -04:00
Bill Hoffman eb14543939 ENH: cpack changes, remove the escape variable stuff as it is not needed if you provide a config file for cpack 2007-10-30 23:02:43 -04:00
Bill Hoffman 02f79c7242 ENH: add ability to set installer icons, links to web pages, nsis code in the icon section of the template, and ability to escape variables correctly 2007-10-29 08:11:44 -04:00
Alexander Neundorf 2d1bcf806f BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_* variables
to make them actually work

Alex
2007-10-25 13:26:54 -04:00
Ken Martin 6cdf032505 ENH: change to make the documentation class more generic, about halfway there, also provides secitons for Variables now 2007-10-22 12:49:09 -04:00
Bill Hoffman 4168c0797b ENH: fix line length error 2007-10-19 12:03:16 -04:00
Bill Hoffman 3e03bca2cd ENH: add ability to create links on the start menu 2007-10-18 09:40:10 -04:00
Ken Martin 35e13b11f3 BUG: revert doc changes since VS7 cannot compile them, will implement them in a different manner 2007-10-09 14:35:25 -04:00
Ken Martin 18ce24c748 ENH: make documentation entries actually store their data 2007-10-09 09:55:42 -04:00
Bill Hoffman 887699184a COMP: remove warnings 2007-09-27 14:44:11 -04:00
Alexander Neundorf d5b135e6b5 STYLE: use %-10lld instead of %-10qd for printing a 64bit int, maybe this
silences the warning of the HP compiler

Alex
2007-09-21 13:37:30 -04:00
Bill Hoffman 0eba9b638f ENH: allow for desktop link to be created and fix chop of last char in PATH on uninstall 2007-09-18 15:16:21 -04:00
Brad King 20455c699b BUG: Another space-in-path fix. 2007-08-31 09:14:43 -04:00
Alexander Neundorf e47fbcb9a8 BUG: work if there are spaces in the path to cmake
Alex
2007-08-29 16:32:20 -04:00
Alexander Neundorf feda0041c3 STYLE: InitializeInternal() is unused
Alex
2007-08-17 09:33:29 -04:00
Alexander Neundorf 45da4d2f80 ENH: patch from Eric Noulard for an RPM package generator
It seems rpmbuild can't handle paths with spaces, it complains that
Buildroot takes only one tag (or something like this), quoting and escaping
don't seem to help.

Alex
2007-08-17 09:13:15 -04:00
Alexander Neundorf 911613edf0 COMP: fix warning about comparison signed - unsigned
Alex
2007-08-15 08:47:28 -04:00
Alexander Neundorf 1dde4ab36c COMP: fix build on HPUX, snprintf apparently doesn't work there
Alex
2007-08-15 08:28:08 -04:00
Alexander Neundorf eff7981b57 STYLE: another patch from Mathieu with some comments
Alex
2007-08-14 10:25:23 -04:00
Alexander Neundorf dfbd4ce0f2 ENH: deb generator: don't use the system provided ar, but do it yourself
using the code from OpenBSD ar
COMP: don't build all package generators on all platforms

Alex
2007-08-14 08:40:40 -04:00
Alexander Neundorf 406349a1d1 COMP: silence warnings
Alex
2007-08-08 15:44:02 -04:00
Alexander Neundorf c5d79a298d BUG: register the rpm generator for RPM
Alex
2007-08-08 14:44:54 -04:00
Alexander Neundorf 4ba24ce474 ENH: patch from Mathieu: more entries in the debian control file
Alex
2007-08-08 14:18:13 -04:00
Alexander Neundorf 7432ef206e ENH: add empty RPM package generator, Eric Noulard wants to work on it
Alex
2007-08-08 11:33:42 -04:00
Alexander Neundorf f23169b01a ENH: another fix for the deb generator by Mathieu
Alex
2007-08-06 13:31:37 -04:00
Alexander Neundorf 4040f5f1bf BUG: patch from Mathieu: the md5sums were not correct
Alex
2007-08-06 09:03:10 -04:00
Alexander Neundorf 68674bd0d7 ENH: better error messages from the debian package generator
-don't display the cpack help if a generator failed with some problem
-check for cmSystemTools::GetErrorOccuredFlag()

Alex
2007-08-03 15:26:30 -04:00
Bill Hoffman c693a23a7d ENH: use gnu tar for cygwin 2007-07-30 22:51:21 -04:00
Alexander Neundorf 42f9a6eb08 STYLE: fix line length
Alex
2007-07-27 13:12:36 -04:00
Bill Hoffman 2745742e09 STYLE: fix some kwstyle errors 2007-07-27 10:55:24 -04:00
Alexander Neundorf d6a0c330bc ENH: deb generator can now generate deb packages
-remove the unscriptable commands also from the cpack cmake
-use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and
the deb generator
-make set_properties() scriptable
-use a non-const char array for adding the python modules

Alex
2007-07-27 08:59:59 -04:00
Alexander Neundorf 0ea4c7b784 STYLE: fix line lengths
Alex
2007-07-26 08:40:51 -04:00
Alexander Neundorf 9c2d6f98d7 ENH: apply patch from Mathieu which creates a deb file (not finishsed yet)
Alex
2007-07-25 13:08:17 -04:00
Alexander Neundorf 8796bfcbaf COMP: silence warnings
Alex
2007-07-25 11:41:25 -04:00
Alexander Neundorf a39aff52a0 ENH: add an empty debian package generator, Mathieu volunteered to fill it
:-)

Alex
2007-07-25 10:57:33 -04:00
Alexander Neundorf 919265516e ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can be
private again
-convert the ZIP generator to use a cmake script instead of hardcoding
everything (CPackZIP.cmake)

Alex
2007-07-24 12:52:39 -04:00
Alexander Neundorf 8a6e2bb81d ENH: determine the current system also in cpack, so the search paths are
loaded
Additionally the makefile in cmCPackGenericGenerator is now protected
instead of private, so with these two changes the cpack generators should
now be able to find their tools and how to call these tools from cmake
scripts, instead of hardcoding the search order and command line (as done
e.g. in cmCPackZIPGenerator.cxx)

Alex
2007-07-24 10:00:26 -04:00
Alexander Neundorf 8c77fe55dc STYLE: fix some typos, nicer debug output
Alex
2007-07-19 11:13:01 -04:00
Alexander Neundorf ef81ac50e5 ENH: NSIS exists also for Linux, not only Windows, so enable it there too
patch by   Michal Čihař <michal (AT) cihar.com>

Alex
2007-06-18 09:00:33 -04:00
Alexander Neundorf 2f6f3316e4 STYLE: fix typo
Alex
2007-06-14 13:57:00 -04:00
Alexander Neundorf f80d98bc09 ENH: support 7zip for creating zip files (not 7z files)
Alex
2007-06-14 12:03:53 -04:00
Alexander Neundorf 9670a8c485 ENH: 2nd try to move stripping out of cpack and to install time, now if
CPACK_STRIP_FILES is true (or contains a list of files), everything will be
stripped, if it's empty or false they won't be stripped

Alex
2007-05-18 14:41:09 -04:00
Alexander Neundorf d64dc9b5bb COMP: force a recompile on VS71
Alex
2007-05-18 11:45:18 -04:00
Bill Hoffman 8f870ddeca BUG: fix coverity error, null check after usage fix 2007-03-20 12:44:36 -04:00
Ken Martin b41d4a1b54 STYLE: fix someones line length 2007-02-22 09:44:27 -05:00
Bill Hoffman f7cd9f76ce STYLE: fix line length issues 2007-02-17 08:46:25 -05:00
Andy Cedilnik f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc 2007-02-13 14:13:51 -05:00
Bill Hoffman 266971e302 STYLE: fix warnings 2007-02-02 16:52:20 -05:00
Bill Hoffman 4925e64b97 ENH: add support for cygwin source and binary packaging 2007-02-02 14:40:26 -05:00
Bill Hoffman 39eba4ce11 ENH: commit cygwin source generator files, not used yet 2007-01-31 16:50:24 -05:00
Andy Cedilnik 4240fc1bcb COMP: Use new API 2007-01-31 13:53:30 -05:00
Andy Cedilnik 8388640c03 STYLE: Fix kwstyle 2007-01-15 12:31:29 -05:00
Andy Cedilnik cd5535ee9c STYLE: Fix kwstyle issues 2007-01-11 10:49:18 -05:00
Bill Hoffman c3148813f4 ENH: fix warning and code style 2007-01-10 19:59:53 -05:00
Andy Cedilnik de5540f7e5 ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager 2007-01-10 15:30:26 -05:00
Ken Martin 240deb027b STYLE: fix a long line 2006-11-17 11:14:04 -05:00
Andy Cedilnik 2e37a00610 ENH: Expand comment 2006-11-13 22:08:42 -05:00
Bill Hoffman 7aef92391b ENH: make sure null const char* is not put into ossttringstream to avoid seg faults 2006-10-30 11:22:48 -05:00
Brad King f91b3c1daa ENH: Add options to build with system utility libraries. Organize inclusion of third party libraries into a single header per library. This addresses bug#3653. 2006-10-19 15:00:10 -04:00
Brad King 4d6435f5f3 STYLE: Fixed line-too-long. 2006-10-17 09:34:07 -04:00
Andy Cedilnik 2071291956 STYLE: Fix kwstyle 2006-10-15 07:54:52 -04:00
Andy Cedilnik b548e2db1f ENH: Add NSIS compression 2006-10-12 14:59:43 -04:00
Andy Cedilnik e31dc3abe5 ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX 2006-10-12 13:05:50 -04:00
Andy Cedilnik c9fd17b884 BUG: Attempt to fix winzip problems 2006-09-23 14:41:08 -04:00
Andy Cedilnik 0952a96485 ENH: Handle zip (command line was too long) 2006-09-21 15:09:34 -04:00
Brad King 2b602ea738 COMP: Need to use cmsys_stl when in CMake code, not kwsys_stl. 2006-08-27 13:15:39 -04:00
Andy Cedilnik 377e4c132f COMP: Remove warnings 2006-08-22 09:20:44 -04:00
Andy Cedilnik 07fa9ac09c ENH: Implement TarCompress generator using compress library 2006-08-21 12:37:40 -04:00
Ken Martin b24533f27c ENH: fix line lengths 2006-07-31 10:28:30 -04:00
Andy Cedilnik b0d7f6999b BUG: Bail out on generator initialization failure 2006-07-28 09:14:17 -04:00
Andy Cedilnik 7e3310e6e5 BUG: Fix executing and help 2006-07-27 11:55:34 -04:00
Andy Cedilnik 15ddcb424f BUG: Prevent crash when no input file or generator specified 2006-07-27 11:26:47 -04:00
Bill Hoffman 6a944aad81 ENH: remove uncompiled header 2006-07-25 10:01:55 -04:00
Andy Cedilnik e918403eee COMP: Remove warnings and style problems 2006-07-10 07:59:05 -04:00
Andy Cedilnik 0f28edbe4a STYLE: Fix some style errors 2006-07-10 07:52:35 -04:00
Andy Cedilnik e36ae0fcb8 ENH: Several cleanups and support for multiple generators 2006-07-09 13:20:07 -04:00
Bill Hoffman 4bdc78339b ENH: remove cerr output 2006-06-28 16:16:52 -04:00
Bill Hoffman bba61bc8a7 ENH: check in partial cygwin generator 2006-06-09 13:45:09 -04:00
Andy Cedilnik 5bb3062ecc COMP: Remove warning 2006-06-03 18:43:30 -04:00
Andy Cedilnik 886c559518 ENH: Display cmake install information when in verbose mode 2006-06-02 11:26:10 -04:00
Brad King 87d4d0e039 BUG: cmGlobalGenerator::Build should not always use the /fast target name because dependency checking is often required. It now takes an argument specifying whether to use the /fast target name, and the argument is currently only true for try-compiles. 2006-06-01 15:51:24 -04:00
Ken Martin af04164c6d STYLE: fix line length 2006-05-12 14:44:24 -04:00
Bill Hoffman 5e68642d16 ENH: use @ file for winzip on windows 2006-05-11 09:37:48 -04:00
Andy Cedilnik 26e75041fa BUG: Fix relative path to config file, fix cmake_install.cmake location problem 2006-05-10 12:39:45 -04:00
Andy Cedilnik d4e84f8c5b ENH: Add BZip2 support, add better documentation 2006-05-03 21:42:51 -04:00
Ken Martin f131463e3d BUG: fix CPack to use correct paths 2006-05-03 15:17:09 -04:00
Andy Cedilnik 38c1ab5cb2 COMP: Fix cast to char* 2006-05-02 18:47:49 -04:00
Andy Cedilnik 12048d8276 COMP: Try to fix windows builds 2006-05-02 18:43:19 -04:00
Andy Cedilnik 6597cc4808 ENH: Add generators documentation 2006-05-02 17:52:22 -04:00
Andy Cedilnik 7e788fed35 ENH: Simplify TarCompress to only require compress. Use cmake's tar 2006-05-02 17:34:27 -04:00
Andy Cedilnik 12e07f910e ENH: Initial cut at TarCompress generator 2006-05-02 17:07:16 -04:00
Andy Cedilnik 2324e7ec5d ENH: Add support for stipping and make more things overwritable 2006-05-02 08:49:01 -04:00
Andy Cedilnik a8bb20dce5 ENH: Add license and make it more verbose 2006-05-01 14:23:15 -04:00
Andy Cedilnik 619ebce6cf ENH: Add NSIS options page for path selection, fix adding and removing from path, add welcome page and license page 2006-04-29 19:22:21 -04:00
Andy Cedilnik 88ebd1d362 ENH: Remove some debugging 2006-04-18 10:32:08 -04:00
Andy Cedilnik e39ca96c50 COMP: Remove non-existent header 2006-04-18 09:24:15 -04:00
Andy Cedilnik 4709c76f0f ENH: More cleanups and add stgz header script, so it does not have to be hard-coded. Also, the user can overwrite it 2006-04-18 08:25:24 -04:00
Andy Cedilnik c09c3c6bfa ENH: Support for packaging source, several cleanups and more yeehaa... 2006-04-15 13:02:18 -04:00
Andy Cedilnik c836be6f7b ENH: Start adding support for packaging component and to package into a subdirectory 2006-04-14 08:58:13 -04:00
Andy Cedilnik bad1215a85 ENH: Add support for preinstall for cmake generated projects when packaging them 2006-04-10 13:44:39 -04:00
Andy Cedilnik 0bad15c302 ENH: Deprecate CPACK_BINARY_DIR and add CPACK_INSTALL_CMAKE_PROJECTS 2006-04-10 11:09:52 -04:00
Andy Cedilnik d342d51c0c ENH: Add ZIP generator and add support for including or excluding the toplevel directory 2006-04-02 11:20:58 -04:00
Andy Cedilnik fbfbe4717f ENH: Handle unusual path for packagemaker 2006-03-20 16:24:43 -05:00
Andy Cedilnik e48dc06402 ENH: Allow multiple install directories 2006-03-15 09:22:51 -05:00
Andy Cedilnik 983ed68f2e STYLE: Fix style checker 2006-03-13 16:45:21 -05:00
Andy Cedilnik 634343c3e8 STYLE: Fix some style issues 2006-03-10 13:06:26 -05:00
Andy Cedilnik f01afc89f5 STYLE: Cleanup trailing spaces 2006-03-10 12:47:17 -05:00
Andy Cedilnik 95ea0272de STYLE: Fix style problems 2006-03-09 08:32:08 -05:00
Andy Cedilnik e8affe5cc2 STYLE: Lots of formating to remove style problems 2006-03-08 16:33:39 -05:00
Andy Cedilnik c14a06c8e0 BUG: Handle version with multiple dots 2006-03-08 13:59:33 -05:00
Andy Cedilnik ce51e361fe ENH: Check package maker version 2006-03-03 15:04:28 -05:00
Andy Cedilnik a460c60843 ENH: Add verbose flag to package maker and add CFBundleIdentifier string 2006-03-03 10:52:26 -05:00
Andy Cedilnik ee227d3af5 ENH: Several packaging issues. Allow random variables to be passed to cpack (anything starting with CPACK_, add preinstall to the list of dependencies for package, fix typos 2006-02-27 10:58:20 -05:00
Andy Cedilnik 2e19553e7c ENH: Allow running without config file 2006-02-23 09:59:42 -05:00
Andy Cedilnik 1d96f839d7 ENH: Several NSIS features 2006-02-23 09:38:40 -05:00
Andy Cedilnik 3cd5fd4e7b BUG: Remove debug and fix space between label and exec name 2006-02-16 15:55:16 -05:00
Andy Cedilnik b07ece004c ENH: More work on NSI to improve installing and uninstalling 2006-02-16 15:20:23 -05:00
Andy Cedilnik 21975ceda5 ENH: Better handling of executables on windows 2006-02-14 14:29:15 -05:00
Andy Cedilnik 3bce601c41 ENH: Improved support for icons, random directories, etc... 2006-02-14 10:28:40 -05:00
Andy Cedilnik 53564358ca ENH: Add missing help for -C option 2006-02-07 12:53:35 -05:00
Andy Cedilnik 48808133b0 ENH: Fix compression on Windows 2006-01-11 19:12:21 -05:00
Andy Cedilnik 0126fd06ad ENH: Add a way to specify a custom install command 2006-01-11 11:23:48 -05:00
Andy Cedilnik 2a6bc87567 ENH: Some improvements: specify link, copy msvc libraries, fix install directory 2006-01-11 11:08:15 -05:00
Andy Cedilnik 581adffa86 COMP: Remove legacy code and fix sun build 2006-01-10 12:05:39 -05:00
Andy Cedilnik 25f6a108ea ENH: Use specified output file name, also detect errors during install 2006-01-09 18:24:39 -05:00
Andy Cedilnik 6d113b9a85 BUG: Fix memory problem 2006-01-09 13:14:41 -05:00
Andy Cedilnik 0c302a7e5f ENH: Fix test for cpack variables, add support for icon on windows 2006-01-09 11:26:31 -05:00
Andy Cedilnik b9c4cff45a ENH: More debugging and work on PackageMaker code 2006-01-05 13:27:48 -05:00
Andy Cedilnik 4a765181cc ENH: flush the output 2006-01-05 12:33:23 -05:00
Andy Cedilnik 88b4d5c179 BUG: Use objects that exist 2006-01-05 12:16:30 -05:00
Andy Cedilnik af923d13fa BUG: Print the right line number to the right pipe 2006-01-05 12:16:11 -05:00
Andy Cedilnik 6ac0063af7 BUG: Revert back 2006-01-05 10:37:05 -05:00
Bill Hoffman 1184bd9321 ENH: remove assert 2006-01-04 16:24:24 -05:00
Andy Cedilnik 5358809a5c ENH: More CPack stuff and fix zlib compression 2006-01-04 15:14:09 -05:00
Andy Cedilnik 9a1098f52e COMP: Remove warnings 2006-01-03 08:39:39 -05:00
Andy Cedilnik ebbe10193f ENH: Start working on CPack input file and cleanups 2006-01-02 17:28:20 -05:00
Andy Cedilnik f00b344ada COMP: Fix compile errors 2006-01-02 17:22:39 -05:00
Andy Cedilnik bbf1c2d275 ENH: More improvements and add logging 2006-01-02 16:14:21 -05:00
Andy Cedilnik 1d9ef3f8b5 COMP: Remove warning 2006-01-02 11:39:45 -05:00
Andy Cedilnik bf044cec81 COMP: Fix build problems 2006-01-02 10:37:00 -05:00
Andy Cedilnik c9f3ad1e23 ENH: Use libtar 2006-01-02 07:53:05 -05:00
Andy Cedilnik d0329919da ENH: Merge from the cpack branch 2006-01-01 23:21:05 -05:00